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 SummaryNested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePieceStructurePiece.BlockSelector
- 
Field SummaryFields inherited from class net.minecraft.world.level.levelgen.structure.StructurePieceboundingBox, CAVE_AIR, genDepth
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedNetherBridgePiece(StructurePieceType p_228380_, int p_228381_, BoundingBox p_228382_) NetherBridgePiece(StructurePieceType p_228384_, CompoundTag p_228385_) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidaddAdditionalSaveData(StructurePieceSerializationContext p_228389_, CompoundTag p_228390_) private StructurePiecegenerateAndAddPiece(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 StructurePiecegenerateChildForward(NetherFortressPieces.StartPiece p_228402_, StructurePieceAccessor p_228403_, RandomSource p_228404_, int p_228405_, int p_228406_, boolean p_228407_) protected StructurePiecegenerateChildLeft(NetherFortressPieces.StartPiece p_228421_, StructurePieceAccessor p_228422_, RandomSource p_228423_, int p_228424_, int p_228425_, boolean p_228426_) protected StructurePiecegenerateChildRight(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 booleanisOkBox(BoundingBox p_228387_) private intupdatePieceWeight(List<NetherFortressPieces.PieceWeight> p_228419_) Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePieceaddChildren, 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- 
addAdditionalSaveDataprotected void addAdditionalSaveData(StructurePieceSerializationContext p_228389_, CompoundTag p_228390_) - Specified by:
- addAdditionalSaveDatain class- StructurePiece
 
- 
updatePieceWeight
- 
generatePieceprivate 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_) 
- 
generateAndAddPieceprivate 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
 
-