## Uses of Class
net.minecraft.util.WeightedRandomChestContent

- Packages that use WeightedRandomChestContent
  Package | Description
  --- | ---
  net.minecraft.item |
  net.minecraft.util |
  net.minecraft.world |
  net.minecraft.world.gen.feature |
  net.minecraft.world.gen.structure |
  net.minecraftforge.common |

- - ### Uses of WeightedRandomChestContent in net.minecraft.item

    Methods in net.minecraft.item that return WeightedRandomChestContent
    Modifier and Type | Method and Description
    --- | ---
    `WeightedRandomChestContent` | ItemEnchantedBook.`func_92112_a(Random par1Random, int par2, int par3, int par4)`
    `WeightedRandomChestContent` | ItemEnchantedBook.`func_92114_b(Random par1Random)`
    `WeightedRandomChestContent` | Item.`getChestGenBase(ChestGenHooks chest, Random rnd, WeightedRandomChestContent original)` Generates the base Random item for a specific instance of the chest gen, Enchanted books use this to pick a random enchantment.

    Methods in net.minecraft.item with parameters of type WeightedRandomChestContent
    Modifier and Type | Method and Description
    --- | ---
    `WeightedRandomChestContent` | Item.`getChestGenBase(ChestGenHooks chest, Random rnd, WeightedRandomChestContent original)` Generates the base Random item for a specific instance of the chest gen, Enchanted books use this to pick a random enchantment.

  - ### Uses of WeightedRandomChestContent in net.minecraft.util

    Methods in net.minecraft.util that return WeightedRandomChestContent
    Modifier and Type | Method and Description
    --- | ---
    `static WeightedRandomChestContent[]` | WeightedRandomChestContent.`func_92080_a(WeightedRandomChestContent[] par0ArrayOfWeightedRandomChestContent, WeightedRandomChestContent... par1ArrayOfWeightedRandomChestContent)`

    Methods in net.minecraft.util with parameters of type WeightedRandomChestContent
    Modifier and Type | Method and Description
    --- | ---
    `static WeightedRandomChestContent[]` | WeightedRandomChestContent.`func_92080_a(WeightedRandomChestContent[] par0ArrayOfWeightedRandomChestContent, WeightedRandomChestContent... par1ArrayOfWeightedRandomChestContent)`
    `static WeightedRandomChestContent[]` | WeightedRandomChestContent.`func_92080_a(WeightedRandomChestContent[] par0ArrayOfWeightedRandomChestContent, WeightedRandomChestContent... par1ArrayOfWeightedRandomChestContent)`
    `static void` | WeightedRandomChestContent.`generateChestContents(Random par0Random, WeightedRandomChestContent[] par1ArrayOfWeightedRandomChestContent, IInventory par2IInventory, int par3)` Generates the Chest contents.
    `static void` | WeightedRandomChestContent.`generateDispenserContents(Random par0Random, WeightedRandomChestContent[] par1ArrayOfWeightedRandomChestContent, TileEntityDispenser par2TileEntityDispenser, int par3)` Generates the Dispenser contents.

  - ### Uses of WeightedRandomChestContent in net.minecraft.world

    Fields in net.minecraft.world declared as WeightedRandomChestContent
    Modifier and Type | Field and Description
    --- | ---
    `static WeightedRandomChestContent[]` | WorldServer.`bonusChestContent`

  - ### Uses of WeightedRandomChestContent in net.minecraft.world.gen.feature

    Constructors in net.minecraft.world.gen.feature with parameters of type WeightedRandomChestContent
    Constructor and Description
    `WorldGeneratorBonusChest(WeightedRandomChestContent[] par1ArrayOfWeightedRandomChestContent, int par2)`

  - ### Uses of WeightedRandomChestContent in net.minecraft.world.gen.structure

    Fields in net.minecraft.world.gen.structure declared as WeightedRandomChestContent
    Modifier and Type | Field and Description
    --- | ---
    `static WeightedRandomChestContent[]` | ComponentScatteredFeatureDesertPyramid.`itemsToGenerateInTemple` List of items to generate in chests of Temples.
    `static WeightedRandomChestContent[]` | ComponentScatteredFeatureJunglePyramid.`junglePyramidsChestContents` List of Chest contents to be generated in the Jungle Pyramid chests.
    `static WeightedRandomChestContent[]` | ComponentScatteredFeatureJunglePyramid.`junglePyramidsDispenserContents` List of Dispenser contents to be generated in the Jungle Pyramid dispensers.
    `static WeightedRandomChestContent[]` | StructureMineshaftPieces.`mineshaftChestContents` List of contents that can generate in Mineshafts.
    `static WeightedRandomChestContent[]` | ComponentStrongholdChestCorridor.`strongholdChestContents` List of items that Stronghold chests can contain.
    `static WeightedRandomChestContent[]` | ComponentStrongholdLibrary.`strongholdLibraryChestContents` List of items that Stronghold Library chests can contain.
    `static WeightedRandomChestContent[]` | ComponentStrongholdRoomCrossing.`strongholdRoomCrossingChestContents` Items that could generate in the chest that is located in Stronghold Room Crossing.
    `static WeightedRandomChestContent[]` | ComponentVillageHouse2.`villageBlacksmithChestContents` List of items that Village's Blacksmith chest can contain.

  - ### Uses of WeightedRandomChestContent in net.minecraftforge.common

    Methods in net.minecraftforge.common that return WeightedRandomChestContent
    Modifier and Type | Method and Description
    --- | ---
    `WeightedRandomChestContent[]` | ChestGenHooks.`getItems(Random rnd)` Gets an array of all random objects that are associated with this category.
    `static WeightedRandomChestContent[]` | ChestGenHooks.`getItems(String category, Random rnd)`

    Methods in net.minecraftforge.common with parameters of type WeightedRandomChestContent
    Modifier and Type | Method and Description
    --- | ---
    `static void` | ChestGenHooks.`addItem(String category, WeightedRandomChestContent item)`
    `void` | ChestGenHooks.`addItem(WeightedRandomChestContent item)` Adds a new entry into the possible items to generate.

    Constructors in net.minecraftforge.common with parameters of type WeightedRandomChestContent
    Constructor and Description
    `ChestGenHooks(String category, WeightedRandomChestContent[] items, int min, int max)`