public static class MineshaftPieces.Room extends MineshaftPieces.Piece
StructurePiece.BlockSelector| Modifier and Type | Field and Description |
|---|---|
private java.util.List<MutableBoundingBox> |
connectedRooms |
mineShaftTypeboundingBox, CAVE_AIR, componentType| Constructor and Description |
|---|
Room(int p_i47137_1_,
java.util.Random p_i47137_2_,
int p_i47137_3_,
int p_i47137_4_,
MineshaftStructure.Type typeIn) |
Room(TemplateManager templateManagerIn,
CompoundNBT nbt) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildComponent(StructurePiece componentIn,
java.util.List<StructurePiece> listIn,
java.util.Random rand) |
boolean |
create(IWorld worldIn,
ChunkGenerator<?> chunkGeneratorIn,
java.util.Random randomIn,
MutableBoundingBox mutableBoundingBoxIn,
ChunkPos chunkPosIn) |
void |
offset(int x,
int y,
int z) |
protected void |
readAdditional(CompoundNBT tagCompound) |
getFenceBlock, getPlanksBlock, isSupportingBoxcorrectFacing, createDispenser, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_214810_a, generateChest, generateChest, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getRotation, getSkyBrightness, getStructurePieceType, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, randomlyPlaceBlock, randomlyRareFillWithBlocks, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode, writeprivate final java.util.List<MutableBoundingBox> connectedRooms
public Room(int p_i47137_1_,
java.util.Random p_i47137_2_,
int p_i47137_3_,
int p_i47137_4_,
MineshaftStructure.Type typeIn)
public Room(TemplateManager templateManagerIn, CompoundNBT nbt)
public void buildComponent(StructurePiece componentIn, java.util.List<StructurePiece> listIn, java.util.Random rand)
buildComponent in class StructurePiecepublic boolean create(IWorld worldIn, ChunkGenerator<?> chunkGeneratorIn, java.util.Random randomIn, MutableBoundingBox mutableBoundingBoxIn, ChunkPos chunkPosIn)
create in class StructurePiecepublic void offset(int x,
int y,
int z)
offset in class StructurePieceprotected void readAdditional(CompoundNBT tagCompound)
readAdditional in class MineshaftPieces.Piece