类 NetherFortressPieces.NetherBridgePiece
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.structures.NetherFortressPieces.NetherBridgePiece
- 直接已知子类:
NetherFortressPieces.BridgeCrossing
,NetherFortressPieces.BridgeEndFiller
,NetherFortressPieces.BridgeStraight
,NetherFortressPieces.CastleCorridorStairsPiece
,NetherFortressPieces.CastleCorridorTBalconyPiece
,NetherFortressPieces.CastleEntrance
,NetherFortressPieces.CastleSmallCorridorCrossingPiece
,NetherFortressPieces.CastleSmallCorridorLeftTurnPiece
,NetherFortressPieces.CastleSmallCorridorPiece
,NetherFortressPieces.CastleSmallCorridorRightTurnPiece
,NetherFortressPieces.CastleStalkRoom
,NetherFortressPieces.MonsterThrone
,NetherFortressPieces.RoomCrossing
,NetherFortressPieces.StairsRoom
- 封闭类:
- NetherFortressPieces
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
字段概要
从类继承的字段 net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
构造器概要
构造器限定符构造器说明protected
NetherBridgePiece
(StructurePieceType pType, int pGenDepth, BoundingBox pBoundingBox) NetherBridgePiece
(StructurePieceType pType, CompoundTag pTag) -
方法概要
修饰符和类型方法说明protected void
addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) private StructurePiece
generateAndAddPiece
(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth, boolean pCastlePiece) protected StructurePiece
generateChildForward
(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetX, int pOffsetY, boolean pCastlePiece) protected StructurePiece
generateChildLeft
(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetY, int pOffsetX, boolean pCastlePiece) protected StructurePiece
generateChildRight
(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetY, int pOffsetX, boolean pCastlePiece) generatePiece
(NetherFortressPieces.StartPiece pStartPiece, List<NetherFortressPieces.PieceWeight> pWeights, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) protected static boolean
isOkBox
(BoundingBox pBox) private int
从类继承的方法 net.minecraft.world.level.levelgen.structure.StructurePiece
addChildren, canBeReplaced, createBoundingBox, createChest, createChest, createDispenser, createTag, fillColumnDown, findCollisionPiece, generateAirBox, generateBox, generateBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getLocatorPosition, getMirror, getOrientation, getRandomHorizontalDirection, getRotation, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, move, placeBlock, postProcess, reorient, setGenDepth, setOrientation
-
构造器详细资料
-
NetherBridgePiece
-
NetherBridgePiece
-
-
方法详细资料
-
addAdditionalSaveData
- 指定者:
addAdditionalSaveData
在类中StructurePiece
-
updatePieceWeight
-
generatePiece
private NetherFortressPieces.NetherBridgePiece generatePiece(NetherFortressPieces.StartPiece pStartPiece, List<NetherFortressPieces.PieceWeight> pWeights, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) -
generateAndAddPiece
private StructurePiece generateAndAddPiece(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, @Nullable Direction pOrientation, int pGenDepth, boolean pCastlePiece) -
generateChildForward
@Nullable protected StructurePiece generateChildForward(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetX, int pOffsetY, boolean pCastlePiece) -
generateChildLeft
@Nullable protected StructurePiece generateChildLeft(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetY, int pOffsetX, boolean pCastlePiece) -
generateChildRight
@Nullable protected StructurePiece generateChildRight(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetY, int pOffsetX, boolean pCastlePiece) -
isOkBox
-