net.minecraft.world.gen.feature

## Class WorldGeneratorBonusChest

- java.lang.Object
- - net.minecraft.world.gen.feature.WorldGenerator
  - - net.minecraft.world.gen.feature.WorldGeneratorBonusChest

-     public class WorldGeneratorBonusChest
      extends WorldGenerator

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WorldGeneratorBonusChest(WeightedRandomChestContent[] par1ArrayOfWeightedRandomChestContent, int par2)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `generate(World par1World, java.util.Random par2Random, int par3, int par4, int par5)`

    - ### Methods inherited from class net.minecraft.world.gen.feature.WorldGenerator

      `func_150515_a, setBlockAndNotifyAdequately, setScale`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### WorldGeneratorBonusChest

          public WorldGeneratorBonusChest(WeightedRandomChestContent[] par1ArrayOfWeightedRandomChestContent,
                                  int par2)

  - ### Method Detail

    - #### generate

          public boolean generate(World par1World,
                         java.util.Random par2Random,
                         int par3,
                         int par4,
                         int par5)

      Specified by:
        `generate` in class `WorldGenerator`