public static class MineshaftGenerator.MineshaftRoom extends MineshaftGenerator.MineshaftPart
StructurePiece.BlockRandomizer| Modifier and Type | Field and Description |
|---|---|
private List<BlockBox> |
entrances |
mineshaftTypeAIR, 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(ServerWorldAccess serverWorldAccess,
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_14719addBlock, 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, setOrientationpublic 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 StructurePiecepublic boolean generate(ServerWorldAccess serverWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
generate in class StructurePiecepublic void translate(int x,
int y,
int z)
translate in class StructurePieceprotected void toNbt(CompoundTag tag)
toNbt in class MineshaftGenerator.MineshaftPart