public static class MineshaftGenerator.MineshaftRoom extends MineshaftGenerator.MineshaftPart
StructurePiece.BlockRandomizer
Modifier and Type | Field and Description |
---|---|
private List<BlockBox> |
entrances |
mineshaftType
AIR, boundingBox, length
Constructor and Description |
---|
MineshaftRoom(int int2,
Random random,
int int3,
int int4,
MineshaftFeature.Type type) |
MineshaftRoom(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) |
void |
placeJigsaw(StructurePiece structurePiece,
List<StructurePiece> list,
Random random) |
protected void |
toNbt(CompoundTag tag) |
void |
translate(int x,
int y,
int z) |
getFenceType, getPlanksType, method_14719
addBlock, 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
public MineshaftRoom(int int2, Random random, int int3, int int4, MineshaftFeature.Type type)
public MineshaftRoom(StructureManager structureManager, CompoundTag compoundTag)
public void placeJigsaw(StructurePiece structurePiece, List<StructurePiece> list, Random random)
placeJigsaw
in class StructurePiece
public boolean generate(IWorld world, StructureAccessor structureAccessor, ChunkGenerator<?> chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
generate
in class StructurePiece
public void translate(int x, int y, int z)
translate
in class StructurePiece
protected void toNbt(CompoundTag tag)
toNbt
in class MineshaftGenerator.MineshaftPart