net.minecraft.util
Class WeightedRandomItem

java.lang.Object
  extended by net.minecraft.util.WeightedRandomItem
Direct Known Subclasses:
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)