Class MapGenBase

java.lang.Object
net.minecraft.src.MapGenBase
Direct Known Subclasses:
MapGenCaves, MapGenCavesHell, MapGenRavine, MapGenStructure

public class MapGenBase extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Random
    The RNG used by the MapGen classes.
    protected int
    The number of Chunks to gen-check in any given direction.
    protected World
    This world object.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    generate(IChunkProvider par1IChunkProvider, World par2World, int par3, int par4, short[] blockIDs, byte[] metadata)
     
     
    protected void
    recursiveGenerate(World par1World, int par2, int par3, int par4, int par5, short[] blockIDs, byte[] metadata)
    Recursively called by generate() (generate) and optionally by itself.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • range

      protected int range
      The number of Chunks to gen-check in any given direction.
    • rand

      protected Random rand
      The RNG used by the MapGen classes.
    • worldObj

      protected World worldObj
      This world object.
  • Constructor Details

    • MapGenBase

      public MapGenBase()
  • Method Details

    • generate

      public void generate(IChunkProvider par1IChunkProvider, World par2World, int par3, int par4, short[] blockIDs, byte[] metadata)
    • recursiveGenerate

      protected void recursiveGenerate(World par1World, int par2, int par3, int par4, int par5, short[] blockIDs, byte[] metadata)
      Recursively called by generate() (generate) and optionally by itself.
    • getRand

      public Random getRand()