public abstract class StructureComponent extends Object
Modifier and Type | Method and Description |
---|---|
abstract boolean |
addComponentParts(World world,
Random random,
StructureBoundingBox structureboundingbox)
second Part of Structure generating, this for example places Spiderwebs, Mob Spawners, it closes Mineshafts at
the end, it adds Fences...
|
void |
buildComponent(StructureComponent par1StructureComponent,
List par2List,
Random par3Random)
Initiates construction of the Structure Component picked, at the current Location of StructGen
|
static StructureComponent |
findIntersecting(List par0List,
StructureBoundingBox par1StructureBoundingBox)
Discover if bounding box can fit within the current bounding box object.
|
StructureBoundingBox |
getBoundingBox() |
ChunkPosition |
getCenter() |
int |
getComponentType()
Returns the component type ID of this component.
|
public void buildComponent(StructureComponent par1StructureComponent, List par2List, Random par3Random)
public abstract boolean addComponentParts(World world, Random random, StructureBoundingBox structureboundingbox)
public StructureBoundingBox getBoundingBox()
public int getComponentType()
public static StructureComponent findIntersecting(List par0List, StructureBoundingBox par1StructureBoundingBox)
public ChunkPosition getCenter()