Class NetherFortressPieces.NetherBridgePiece
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.structures.NetherFortressPieces.NetherBridgePiece
- Direct Known Subclasses:
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
- Enclosing class:
- NetherFortressPieces
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ModifierConstructorDescriptionprotected
NetherBridgePiece
(StructurePieceType p_228380_, int p_228381_, BoundingBox p_228382_) NetherBridgePiece
(StructurePieceType p_228384_, CompoundTag p_228385_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_228389_, CompoundTag p_228390_) private StructurePiece
generateAndAddPiece
(NetherFortressPieces.StartPiece p_228392_, StructurePieceAccessor p_228393_, RandomSource p_228394_, int p_228395_, int p_228396_, int p_228397_, Direction p_228398_, int p_228399_, boolean p_228400_) protected StructurePiece
generateChildForward
(NetherFortressPieces.StartPiece p_228402_, StructurePieceAccessor p_228403_, RandomSource p_228404_, int p_228405_, int p_228406_, boolean p_228407_) protected StructurePiece
generateChildLeft
(NetherFortressPieces.StartPiece p_228421_, StructurePieceAccessor p_228422_, RandomSource p_228423_, int p_228424_, int p_228425_, boolean p_228426_) protected StructurePiece
generateChildRight
(NetherFortressPieces.StartPiece p_228428_, StructurePieceAccessor p_228429_, RandomSource p_228430_, int p_228431_, int p_228432_, boolean p_228433_) generatePiece
(NetherFortressPieces.StartPiece p_228409_, List<NetherFortressPieces.PieceWeight> p_228410_, StructurePieceAccessor p_228411_, RandomSource p_228412_, int p_228413_, int p_228414_, int p_228415_, Direction p_228416_, int p_228417_) protected static boolean
isOkBox
(BoundingBox p_228387_) private int
updatePieceWeight
(List<NetherFortressPieces.PieceWeight> p_228419_) Methods inherited from class 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
-
Constructor Details
-
NetherBridgePiece
-
NetherBridgePiece
-
-
Method Details
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_228389_, CompoundTag p_228390_) - Specified by:
addAdditionalSaveData
in classStructurePiece
-
updatePieceWeight
-
generatePiece
private NetherFortressPieces.NetherBridgePiece generatePiece(NetherFortressPieces.StartPiece p_228409_, List<NetherFortressPieces.PieceWeight> p_228410_, StructurePieceAccessor p_228411_, RandomSource p_228412_, int p_228413_, int p_228414_, int p_228415_, Direction p_228416_, int p_228417_) -
generateAndAddPiece
private StructurePiece generateAndAddPiece(NetherFortressPieces.StartPiece p_228392_, StructurePieceAccessor p_228393_, RandomSource p_228394_, int p_228395_, int p_228396_, int p_228397_, @Nullable Direction p_228398_, int p_228399_, boolean p_228400_) -
generateChildForward
@Nullable protected StructurePiece generateChildForward(NetherFortressPieces.StartPiece p_228402_, StructurePieceAccessor p_228403_, RandomSource p_228404_, int p_228405_, int p_228406_, boolean p_228407_) -
generateChildLeft
@Nullable protected StructurePiece generateChildLeft(NetherFortressPieces.StartPiece p_228421_, StructurePieceAccessor p_228422_, RandomSource p_228423_, int p_228424_, int p_228425_, boolean p_228426_) -
generateChildRight
@Nullable protected StructurePiece generateChildRight(NetherFortressPieces.StartPiece p_228428_, StructurePieceAccessor p_228429_, RandomSource p_228430_, int p_228431_, int p_228432_, boolean p_228433_) -
isOkBox
-