Class WeightedRandomItem

java.lang.Object
net.minecraft.src.WeightedRandomItem
Direct Known Subclasses:
EnchantmentData, RandomItemStack, SpawnListEntry, WeightedRandomChestContent, WeightedRandomMinecart

public class WeightedRandomItem extends Object
  • Field Details

    • itemWeight

      protected int itemWeight
      The Weight is how often the item is chosen(higher number is higher chance(lower is lower))
  • Constructor Details

    • WeightedRandomItem

      public WeightedRandomItem(int par1)