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.src
Class WeightedRandomItem

    java.lang.Object
      net.minecraft.src.WeightedRandomItem

Direct Known Subclasses:
  DungeonHooks.DungeonLoot, DungeonHooks.DungeonMob, EnchantmentData, SpawnListEntry, WeightedRandomChestContent

    public class WeightedRandomItem

extends Object

Field Summary
`int` | `itemWeight` The Weight is how often the item is chosen(higher number is higher chance(lower is lower))

Constructor Summary
`WeightedRandomItem(int par1)`

Method Summary

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

Field Detail

### itemWeight

    public int itemWeight

  The Weight is how often the item is chosen(higher number is higher chance(lower is lower))

Constructor Detail

### WeightedRandomItem

    public WeightedRandomItem(int par1)

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