public static class MineshaftGenerator.MineshaftRoom extends MineshaftGenerator.MineshaftPart
StructurePiece.BlockRandomizer| Modifier and Type | Field and Description |
|---|---|
private List<BlockBox> |
entrances |
mineshaftTypeAIR, boundingBox, chainLength| Constructor and Description |
|---|
MineshaftRoom(int chainLength,
Random random,
int x,
int z,
MineshaftFeature.Type type) |
MineshaftRoom(StructureManager structureManager,
CompoundTag compoundTag) |
| Modifier and Type | Method and Description |
|---|---|
void |
fillOpenings(StructurePiece start,
List<StructurePiece> pieces,
Random random) |
boolean |
generate(StructureWorldAccess structureWorldAccess,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos blockPos) |
protected void |
toNbt(CompoundTag tag) |
void |
translate(int x,
int y,
int z) |
getFenceType, getPlanksType, isSolidCeilingaddBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, fill, fillDownwards, fillHalfEllipsoid, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, getBlockAt, getBoundingBox, getChainLength, getFacing, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isTouchingLiquid, isUnderSeaLevel, orientateChest, setOrientationpublic MineshaftRoom(int chainLength,
Random random,
int x,
int z,
MineshaftFeature.Type type)
public MineshaftRoom(StructureManager structureManager, CompoundTag compoundTag)
public void fillOpenings(StructurePiece start, List<StructurePiece> pieces, Random random)
fillOpenings in class StructurePiecepublic boolean generate(StructureWorldAccess structureWorldAccess, 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