Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.minecraft.util
Class WeightedRandomChestContent

    java.lang.Object
      net.minecraft.util.WeightedRandomItem
          net.minecraft.util.WeightedRandomChestContent

    public class WeightedRandomChestContent

extends WeightedRandomItem

Field Summary
`ItemStack` | `itemStack`

Fields inherited from class net.minecraft.util.WeightedRandomItem
`itemWeight`

Constructor Summary
`WeightedRandomChestContent(int par1, int par2, int par3, int par4, int par5)`
`WeightedRandomChestContent(ItemStack stack, int min, int max, int weight)`

Method Summary
`static void` | `generateChestContents(Random par0Random, WeightedRandomChestContent[] par1ArrayOfWeightedRandomChestContent, TileEntityChest par2TileEntityChest, int par3)` Generates the Chest contents.
`static void` | `generateDispenserContents(Random par0Random, WeightedRandomChestContent[] par1ArrayOfWeightedRandomChestContent, TileEntityDispenser par2TileEntityDispenser, int par3)` Generates the Dispenser contents.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### itemStack

    public final ItemStack itemStack

Constructor Detail

### WeightedRandomChestContent

    public WeightedRandomChestContent(int par1,
                                      int par2,
                                      int par3,
                                      int par4,
                                      int par5)

### WeightedRandomChestContent

    public WeightedRandomChestContent(ItemStack stack,
                                      int min,
                                      int max,
                                      int weight)

Method Detail

### generateChestContents

    public static void generateChestContents(Random par0Random,
                                             WeightedRandomChestContent[] par1ArrayOfWeightedRandomChestContent,
                                             TileEntityChest par2TileEntityChest,
                                             int par3)

  Generates the Chest contents.

### generateDispenserContents

    public static void generateDispenserContents(Random par0Random,
                                                 WeightedRandomChestContent[] par1ArrayOfWeightedRandomChestContent,
                                                 TileEntityDispenser par2TileEntityDispenser,
                                                 int par3)

  Generates the Dispenser contents.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD