public static class StrongholdGenerator.SmallCorridor extends StrongholdGenerator.Piece
StrongholdGenerator.Piece.EntranceTypeStructurePiece.BlockRandomizer| Modifier and Type | Field and Description |
|---|---|
private int |
length |
entryDoorAIR, boundingBox| Constructor and Description |
|---|
SmallCorridor(int int2,
BlockBox blockBox,
Direction direction) |
SmallCorridor(StructureManager structureManager,
CompoundTag compoundTag) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
generate(IWorld world,
StructureAccessor structureAccessor,
ChunkGenerator<?> chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos blockPos) |
static BlockBox |
method_14857(List<StructurePiece> list,
Random random,
int int2,
int int3,
int int4,
Direction direction) |
protected void |
toNbt(CompoundTag tag) |
generateEntrance, getRandomEntrance, method_14870, method_14871, method_14873, method_14874addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, fill, fillWithOutline, fillWithOutline, fillWithOutlineUnderSealevel, getBlockAt, getBoundingBox, getFacing, getLength, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isUnderSeaLevel, method_14916, method_14919, method_14936, method_14937, placeJigsaw, setOrientation, translatepublic SmallCorridor(StructureManager structureManager, CompoundTag compoundTag)
protected void toNbt(CompoundTag tag)
toNbt in class StrongholdGenerator.Piecepublic static BlockBox method_14857(List<StructurePiece> list, Random random, int int2, int int3, int int4, Direction direction)
public boolean generate(IWorld world, StructureAccessor structureAccessor, ChunkGenerator<?> chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
generate in class StructurePiece