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