public static class StructureMineshaftPieces.Room extends StructureMineshaftPieces.Peice
StructureComponent.BlockSelector| Modifier and Type | Field and Description |
|---|---|
private java.util.List<StructureBoundingBox> |
connectedRooms |
mineShaftTypeboundingBox, componentType| Constructor and Description |
|---|
Room() |
Room(int p_i47137_1_,
java.util.Random p_i47137_2_,
int p_i47137_3_,
int p_i47137_4_,
MapGenMineshaft.Type p_i47137_5_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addComponentParts(World worldIn,
java.util.Random randomIn,
StructureBoundingBox structureBoundingBoxIn) |
void |
buildComponent(StructureComponent componentIn,
java.util.List<StructureComponent> listIn,
java.util.Random rand) |
void |
offset(int x,
int y,
int z) |
protected void |
readStructureFromNBT(NBTTagCompound tagCompound,
TemplateManager p_143011_2_) |
protected void |
writeStructureToNBT(NBTTagCompound tagCompound) |
getFenceBlock, getPlanksBlock, isSupportingBoxclearCurrentPositionBlocksUpwards, createDispenser, createStructureBaseNBT, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, generateChest, generateChest, generateDoor, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getSkyBrightness, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, randomlyPlaceBlock, randomlyRareFillWithBlocks, readStructureBaseNBT, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseModeprivate final java.util.List<StructureBoundingBox> connectedRooms
public Room()
public Room(int p_i47137_1_,
java.util.Random p_i47137_2_,
int p_i47137_3_,
int p_i47137_4_,
MapGenMineshaft.Type p_i47137_5_)
public void buildComponent(StructureComponent componentIn, java.util.List<StructureComponent> listIn, java.util.Random rand)
buildComponent in class StructureComponentpublic boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
addComponentParts in class StructureComponentpublic void offset(int x,
int y,
int z)
offset in class StructureComponentprotected void writeStructureToNBT(NBTTagCompound tagCompound)
writeStructureToNBT in class StructureMineshaftPieces.Peiceprotected void readStructureFromNBT(NBTTagCompound tagCompound, TemplateManager p_143011_2_)
readStructureFromNBT in class StructureMineshaftPieces.Peice