public abstract class StructureStart
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected StructureBoundingBox |
boundingBox |
private int |
chunkPosX |
private int |
chunkPosZ |
protected java.util.List<StructureComponent> |
components |
Constructor and Description |
---|
StructureStart() |
StructureStart(int chunkX,
int chunkZ) |
Modifier and Type | Method and Description |
---|---|
void |
generateStructure(World worldIn,
java.util.Random rand,
StructureBoundingBox structurebb) |
StructureBoundingBox |
getBoundingBox() |
int |
getChunkPosX() |
int |
getChunkPosZ() |
java.util.List<StructureComponent> |
getComponents() |
boolean |
isSizeableStructure() |
boolean |
isValidForPostProcess(ChunkPos pair) |
protected void |
markAvailableHeight(World worldIn,
java.util.Random rand,
int p_75067_3_) |
void |
notifyPostProcessAt(ChunkPos pair) |
void |
readFromNBT(NBTTagCompound tagCompound) |
void |
readStructureComponentsFromNBT(World worldIn,
NBTTagCompound tagCompound) |
protected void |
setRandomHeight(World worldIn,
java.util.Random rand,
int p_75070_3_,
int p_75070_4_) |
protected void |
updateBoundingBox() |
NBTTagCompound |
writeStructureComponentsToNBT(int chunkX,
int chunkZ) |
void |
writeToNBT(NBTTagCompound tagCompound) |
protected java.util.List<StructureComponent> components
protected StructureBoundingBox boundingBox
private int chunkPosX
private int chunkPosZ
public StructureStart()
public StructureStart(int chunkX, int chunkZ)
public StructureBoundingBox getBoundingBox()
public java.util.List<StructureComponent> getComponents()
public void generateStructure(World worldIn, java.util.Random rand, StructureBoundingBox structurebb)
protected void updateBoundingBox()
public NBTTagCompound writeStructureComponentsToNBT(int chunkX, int chunkZ)
public void writeToNBT(NBTTagCompound tagCompound)
public void readStructureComponentsFromNBT(World worldIn, NBTTagCompound tagCompound)
public void readFromNBT(NBTTagCompound tagCompound)
protected void markAvailableHeight(World worldIn, java.util.Random rand, int p_75067_3_)
protected void setRandomHeight(World worldIn, java.util.Random rand, int p_75070_3_, int p_75070_4_)
public boolean isSizeableStructure()
public boolean isValidForPostProcess(ChunkPos pair)
public void notifyPostProcessAt(ChunkPos pair)
public int getChunkPosX()
public int getChunkPosZ()