Class StructureStart

java.lang.Object
net.minecraft.src.StructureStart
Direct Known Subclasses:
StructureMineshaftStart, StructureNetherBridgeStart, StructureScatteredFeatureStart, StructureStrongholdStart, StructureVillageStart

public abstract class StructureStart extends Object
  • Field Details

    • components

      protected LinkedList components
      List of all StructureComponents that are part of this structure
    • boundingBox

      public StructureBoundingBox boundingBox
  • Constructor Details

    • StructureStart

      public StructureStart()
    • StructureStart

      public StructureStart(int par1, int par2)
  • Method Details

    • 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
    • updateBoundingBox

      protected void updateBoundingBox()
      Calculates total bounding box based on components' bounding boxes and saves it to boundingBox
    • func_143021_a

      public NBTTagCompound func_143021_a(int par1, int par2)
    • func_143022_a

      public void func_143022_a(NBTTagCompound par1NBTTagCompound)
    • func_143020_a

      public void func_143020_a(World par1World, NBTTagCompound par2NBTTagCompound)
    • func_143017_b

      public void func_143017_b(NBTTagCompound par1NBTTagCompound)
    • markAvailableHeight

      protected void markAvailableHeight(World par1World, Random par2Random, int par3)
      offsets the structure Bounding Boxes up to a certain height, typically 63 - 10
    • setRandomHeight

      protected void setRandomHeight(World par1World, Random par2Random, int par3, int par4)
    • isSizeableStructure

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

      public int func_143019_e()
    • func_143018_f

      public int func_143018_f()