Class WorldGenerator

java.lang.Object
net.minecraft.src.WorldGenerator
Direct Known Subclasses:
BonusBasketGenerator, JungleTreeGenerator, WorldGenBigMushroom, WorldGenBigTree, WorldGenCactus, WorldGenClay, WorldGenDeadBush, WorldGenDesertWells, WorldGenDungeons, WorldGeneratorBonusChest, WorldGenFire, WorldGenFlowers, WorldGenForest, WorldGenGlowStone1, WorldGenGlowStone2, WorldGenHellLava, WorldGenHugeTrees, WorldGenLakes, WorldGenLiquids, WorldGenMinable, WorldGenPumpkin, WorldGenReed, WorldGenSand, WorldGenShrub, WorldGenSpikes, WorldGenSwamp, WorldGenTaiga1, WorldGenTaiga2, WorldGenTallGrass, WorldGenTrees, WorldGenVines, WorldGenWaterlily

public abstract class WorldGenerator extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    WorldGenerator(boolean par1)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract boolean
    generate(World var1, Random var2, int var3, int var4, int var5)
     
    protected void
    setBlock(World par1World, int par2, int par3, int par4, int par5)
    Sets the block without metadata in the world, notifying neighbors if enabled.
    protected void
    setBlockAndMetadata(World par1World, int par2, int par3, int par4, int par5, int par6)
    Sets the block in the world, notifying neighbors if enabled.
    void
    setScale(double par1, double par3, double par5)
    Rescales the generator settings, only used in WorldGenBigTree

    Methods inherited from class java.lang.Object

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

    • WorldGenerator

      public WorldGenerator()
    • WorldGenerator

      public WorldGenerator(boolean par1)
  • Method Details

    • generate

      public abstract boolean generate(World var1, Random var2, int var3, int var4, int var5)
    • setScale

      public void setScale(double par1, double par3, double par5)
      Rescales the generator settings, only used in WorldGenBigTree
    • setBlock

      protected void setBlock(World par1World, int par2, int par3, int par4, int par5)
      Sets the block without metadata in the world, notifying neighbors if enabled.
    • setBlockAndMetadata

      protected void setBlockAndMetadata(World par1World, int par2, int par3, int par4, int par5, int par6)
      Sets the block in the world, notifying neighbors if enabled.