net.minecraft.world.gen.structure
Class StructureStart

java.lang.Object
  extended by net.minecraft.world.gen.structure.StructureStart
Direct Known Subclasses:
StructureMineshaftStart, StructureScatteredFeatureStart

public abstract class StructureStart
extends Object


Constructor Summary
StructureStart()
           
 
Method Summary
 void generateStructure(World par1World, Random par2Random, StructureBoundingBox par3StructureBoundingBox)
          Keeps iterating Structure Pieces and spawning them until the checks tell it to stop
 StructureBoundingBox getBoundingBox()
           
 LinkedList getComponents()
           
 boolean isSizeableStructure()
          currently only defined for Villages, returns true if Village has more than 2 non-road components
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructureStart

public StructureStart()
Method Detail

getBoundingBox

public StructureBoundingBox getBoundingBox()

getComponents

public LinkedList getComponents()

generateStructure

public void generateStructure(World par1World,
                              Random par2Random,
                              StructureBoundingBox par3StructureBoundingBox)
Keeps iterating Structure Pieces and spawning them until the checks tell it to stop


isSizeableStructure

public boolean isSizeableStructure()
currently only defined for Villages, returns true if Village has more than 2 non-road components