public static class StructureMineshaftPieces.Room extends StructureComponent
StructureComponent.BlockSelector
boundingBox, componentType, coordBaseMode
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)
second Part of Structure generating, this for example places Spiderwebs, Mob Spawners, it closes
Mineshafts at the end, it adds Fences...
|
void |
buildComponent(StructureComponent componentIn,
java.util.List<StructureComponent> listIn,
java.util.Random rand)
Initiates construction of the Structure Component picked, at the current Location of StructGen
|
void |
func_181138_a(int p_181138_1_,
int p_181138_2_,
int p_181138_3_) |
protected void |
readStructureFromNBT(NBTTagCompound tagCompound)
(abstract) Helper method to read subclass data from NBT
|
protected void |
writeStructureToNBT(NBTTagCompound tagCompound)
(abstract) Helper method to write subclass data to NBT
|
clearCurrentPositionBlocksUpwards, createStructureBaseNBT, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_175805_a, generateChestContents, generateDispenserContents, getBlockStateFromPos, getBoundingBox, getBoundingBoxCenter, getComponentType, getMetadataWithOffset, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, placeDoorCurrentPosition, randomlyPlaceBlock, randomlyRareFillWithBlocks, readStructureBaseNBT, replaceAirAndLiquidDownwards, setBlockState
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 func_181138_a(int p_181138_1_, int p_181138_2_, int p_181138_3_)
func_181138_a
in class StructureComponent
protected void writeStructureToNBT(NBTTagCompound tagCompound)
writeStructureToNBT
in class StructureComponent
protected void readStructureFromNBT(NBTTagCompound tagCompound)
readStructureFromNBT
in class StructureComponent