public class WorldGeneratorBonusChest extends WorldGenerator
Modifier and Type | Field and Description |
---|---|
private java.util.List<WeightedRandomChestContent> |
chestItems |
private int |
itemsToGenerateInBonusChest
Value of this int will determine how much items gonna generate in Bonus Chest.
|
Constructor and Description |
---|
WorldGeneratorBonusChest(java.util.List<WeightedRandomChestContent> p_i45634_1_,
int p_i45634_2_) |
Modifier and Type | Method and Description |
---|---|
boolean |
generate(World worldIn,
java.util.Random rand,
BlockPos position) |
func_175904_e, setBlockAndNotifyAdequately
private final java.util.List<WeightedRandomChestContent> chestItems
private final int itemsToGenerateInBonusChest
public WorldGeneratorBonusChest(java.util.List<WeightedRandomChestContent> p_i45634_1_, int p_i45634_2_)
public boolean generate(World worldIn, java.util.Random rand, BlockPos position)
generate
in class WorldGenerator