public static class StrongholdGenerator.SmallCorridor extends StrongholdGenerator.Piece
StrongholdGenerator.Piece.EntranceTypeStructurePiece.BlockRandomizer| Modifier and Type | Field and Description |
|---|---|
private int |
length |
entryDoorAIR, boundingBox, chainLength| Constructor and Description |
|---|
SmallCorridor(int chainLength,
BlockBox boundingBox,
Direction orientation) |
SmallCorridor(StructureManager structureManager,
CompoundTag compoundTag) |
| Modifier and Type | Method and Description |
|---|---|
static BlockBox |
create(List<StructurePiece> pieces,
Random random,
int x,
int y,
int z,
Direction orientation) |
boolean |
generate(StructureWorldAccess structureWorldAccess,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos blockPos) |
protected void |
toNbt(CompoundTag tag) |
fillForwardOpening, fillNWOpening, fillSEOpening, generateEntrance, getRandomEntrance, isInboundsaddBlock, 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, translatepublic SmallCorridor(StructureManager structureManager, CompoundTag compoundTag)
protected void toNbt(CompoundTag tag)
toNbt in class StrongholdGenerator.Piecepublic static BlockBox create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation)
public boolean generate(StructureWorldAccess structureWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
generate in class StructurePiece