public class WeightedRandomChestContent extends WeightedRandom.Item
Modifier and Type | Field and Description |
---|---|
ItemStack |
theItemId |
int |
theMaximumChanceToGenerateItem |
int |
theMinimumChanceToGenerateItem |
itemWeight
Constructor and Description |
---|
WeightedRandomChestContent(Item p_i45311_1_,
int p_i45311_2_,
int p_i45311_3_,
int p_i45311_4_,
int p_i45311_5_) |
WeightedRandomChestContent(ItemStack p_i1558_1_,
int p_i1558_2_,
int p_i1558_3_,
int p_i1558_4_) |
Modifier and Type | Method and Description |
---|---|
static WeightedRandomChestContent[] |
func_92080_a(WeightedRandomChestContent[] p_92080_0_,
WeightedRandomChestContent... p_92080_1_) |
static void |
generateChestContents(java.util.Random p_76293_0_,
WeightedRandomChestContent[] p_76293_1_,
IInventory p_76293_2_,
int p_76293_3_) |
static void |
generateDispenserContents(java.util.Random p_150706_0_,
WeightedRandomChestContent[] p_150706_1_,
TileEntityDispenser p_150706_2_,
int p_150706_3_) |
public ItemStack theItemId
public int theMinimumChanceToGenerateItem
public int theMaximumChanceToGenerateItem
public WeightedRandomChestContent(Item p_i45311_1_, int p_i45311_2_, int p_i45311_3_, int p_i45311_4_, int p_i45311_5_)
public WeightedRandomChestContent(ItemStack p_i1558_1_, int p_i1558_2_, int p_i1558_3_, int p_i1558_4_)
public static void generateChestContents(java.util.Random p_76293_0_, WeightedRandomChestContent[] p_76293_1_, IInventory p_76293_2_, int p_76293_3_)
public static void generateDispenserContents(java.util.Random p_150706_0_, WeightedRandomChestContent[] p_150706_1_, TileEntityDispenser p_150706_2_, int p_150706_3_)
public static WeightedRandomChestContent[] func_92080_a(WeightedRandomChestContent[] p_92080_0_, WeightedRandomChestContent... p_92080_1_)