public static class StrongholdGenerator.ChestCorridor extends StrongholdGenerator.Piece
StrongholdGenerator.Piece.EntranceTypeStructurePiece.BlockRandomizer| Modifier and Type | Field and Description |
|---|---|
private boolean |
chestGenerated |
entryDoorAIR, boundingBox, length| Constructor and Description |
|---|
ChestCorridor(int int2,
Random random,
BlockBox blockBox,
Direction direction) |
ChestCorridor(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 StrongholdGenerator.ChestCorridor |
method_14856(List<StructurePiece> list,
Random random,
int int2,
int int3,
int int4,
Direction direction,
int int5) |
void |
placeJigsaw(StructurePiece structurePiece,
List<StructurePiece> list,
Random random) |
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, setOrientation, translatepublic ChestCorridor(StructureManager structureManager, CompoundTag compoundTag)
protected void toNbt(CompoundTag tag)
toNbt in class StrongholdGenerator.Piecepublic void placeJigsaw(StructurePiece structurePiece, List<StructurePiece> list, Random random)
placeJigsaw in class StructurePiecepublic static StrongholdGenerator.ChestCorridor method_14856(List<StructurePiece> list, Random random, int int2, int int3, int int4, Direction direction, int int5)
public boolean generate(IWorld world, StructureAccessor structureAccessor, ChunkGenerator<?> chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
generate in class StructurePiece