public static class NetherFortressGenerator.BridgeEnd extends NetherFortressGenerator.Piece
StructurePiece.BlockRandomizer
Modifier and Type | Field and Description |
---|---|
private int |
seed |
AIR, boundingBox, chainLength
Constructor and Description |
---|
BridgeEnd(int chainLength,
Random random,
BlockBox boundingBox,
Direction orientation) |
BridgeEnd(StructureManager structureManager,
CompoundTag compoundTag) |
Modifier and Type | Method and Description |
---|---|
static NetherFortressGenerator.BridgeEnd |
create(List<StructurePiece> pieces,
Random random,
int x,
int y,
int z,
Direction orientation,
int chainLength) |
boolean |
generate(StructureWorldAccess structureWorldAccess,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos blockPos) |
protected void |
toNbt(CompoundTag tag) |
fillForwardOpening, fillNWOpening, fillSEOpening, isInbounds
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, fill, fillDownwards, fillHalfEllipsoid, fillOpenings, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, getBlockAt, getBoundingBox, getChainLength, getFacing, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isTouchingLiquid, isUnderSeaLevel, orientateChest, setOrientation, translate
public BridgeEnd(int chainLength, Random random, BlockBox boundingBox, Direction orientation)
public BridgeEnd(StructureManager structureManager, CompoundTag compoundTag)
public static NetherFortressGenerator.BridgeEnd create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength)
protected void toNbt(CompoundTag tag)
toNbt
in class NetherFortressGenerator.Piece
public boolean generate(StructureWorldAccess structureWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
generate
in class StructurePiece