    001    package net.minecraft.util;
    002
    003    public class WeightedRandomItem
    004    {
    005        /**
    006         * The Weight is how often the item is chosen(higher number is higher chance(lower is lower))
    007         */
    008        public int itemWeight;
    009
    010        public WeightedRandomItem(int par1)
    011        {
    012            this.itemWeight = par1;
    013        }
    014    }