public static class StructureMineshaftPieces.Room extends StructureComponent
StructureComponent.BlockSelectorboundingBox, 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, setCoordBaseModepublic 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 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 StructureComponentprotected void readStructureFromNBT(NBTTagCompound tagCompound)
readStructureFromNBT in class StructureComponent