public static class StructureMineshaftPieces.Room extends StructureComponent
StructureComponent.BlockSelector
boundingBox, componentType
Constructor and Description |
---|
Room() |
Room(int type,
java.util.Random rand,
int x,
int z) |
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) |
protected void |
writeStructureToNBT(NBTTagCompound tagCompound) |
clearCurrentPositionBlocksUpwards, createDispenser, createStructureBaseNBT, fillWithAir, fillWithBlocks, fillWithBlocksRandomly, fillWithRandomizedBlocks, findIntersecting, generateChest, getBlockStateFromPos, getBoundingBox, getBoundingBoxCenter, getComponentType, getCoordBaseMode, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, placeDoorCurrentPosition, randomlyPlaceBlock, randomlyRareFillWithBlocks, readStructureBaseNBT, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode
public Room()
public Room(int type, java.util.Random rand, int x, int z)
public void buildComponent(StructureComponent componentIn, java.util.List<StructureComponent> listIn, java.util.Random rand)
buildComponent
in class StructureComponent
public boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
addComponentParts
in class StructureComponent
public void offset(int x, int y, int z)
offset
in class StructureComponent
protected void writeStructureToNBT(NBTTagCompound tagCompound)
writeStructureToNBT
in class StructureComponent
protected void readStructureFromNBT(NBTTagCompound tagCompound)
readStructureFromNBT
in class StructureComponent