net.minecraft.structure

abstract class NetherFortressGenerator$Piece

extends StructurePiece

net.minecraft.world.level.levelgen.structure.structures.NetherFortressPieces$NetherBridgePiece
net.minecraft.class_3390$class_3403
net.minecraft.structure.NetherFortressGenerator$Piece

Constructor summary

ModifierConstructor
protected (StructurePieceType type, int genDepth, BlockBox boundingBox)
public (StructurePieceType type, NbtCompound tag)

Method summary

Modifier and TypeMethod
protected void
addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag)
method_14943(class_6625 arg0, class_2487 arg1)
writeNbt(StructureContext arg0, NbtCompound arg1)
private int
updatePieceWeight(List<NetherFortressPieces$PieceWeight> currentPieces)
method_14810(List<class_3390$class_3404> arg0)
checkRemainingPieces(List<NetherFortressGenerator$PieceData> possiblePieces)
private NetherFortressGenerator$Piece
generatePiece(NetherFortressPieces$StartPiece startPiece, List<NetherFortressPieces$PieceWeight> currentPieces, StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int depth)
method_14811(class_3390$class_3407 arg0, List<class_3390$class_3404> arg1, class_6130 arg2, class_5819 arg3, int arg4, int arg5, int arg6, class_2350 arg7, int arg8)
pickPiece(NetherFortressGenerator$Start start, List<NetherFortressGenerator$PieceData> possiblePieces, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength)
private StructurePiece
generateAndAddPiece(NetherFortressPieces$StartPiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random, int footX, int footY, int footZ, Direction direction, int depth, boolean isCastle)
method_14813(class_3390$class_3407 arg0, class_6130 arg1, class_5819 arg2, int arg3, int arg4, int arg5, class_2350 arg6, int arg7, boolean arg8)
pieceGenerator(NetherFortressGenerator$Start start, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength, boolean inside)
protected StructurePiece
generateChildForward(NetherFortressPieces$StartPiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random, int xOff, int yOff, boolean isCastle)
method_14814(class_3390$class_3407 arg0, class_6130 arg1, class_5819 arg2, int arg3, int arg4, boolean arg5)
fillForwardOpening(NetherFortressGenerator$Start start, StructurePiecesHolder holder, Random random, int leftRightOffset, int heightOffset, boolean inside)
protected StructurePiece
generateChildLeft(NetherFortressPieces$StartPiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random, int yOff, int zOff, boolean isCastle)
method_14812(class_3390$class_3407 arg0, class_6130 arg1, class_5819 arg2, int arg3, int arg4, boolean arg5)
fillNWOpening(NetherFortressGenerator$Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset, boolean inside)
protected StructurePiece
generateChildRight(NetherFortressPieces$StartPiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random, int yOff, int zOff, boolean isCastle)
method_14808(class_3390$class_3407 arg0, class_6130 arg1, class_5819 arg2, int arg3, int arg4, boolean arg5)
fillSEOpening(NetherFortressGenerator$Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset, boolean inside)
protected static boolean
isOkBox(BoundingBox box)
method_14809(class_3341 arg0)
isInBounds(BlockBox boundingBox)