| Package | Description |
|---|---|
| net.minecraft.item | |
| net.minecraftforge.common |
| Modifier and Type | Method and Description |
|---|---|
WeightedRandomChestContent |
Item.getChestGenBase(ChestGenHooks chest,
Random rnd,
WeightedRandomChestContent original)
Generates the base Random item for a specific instance of the chest gen,
Enchanted books use this to pick a random enchantment.
|
| Modifier and Type | Method and Description |
|---|---|
static ChestGenHooks |
ChestGenHooks.getInfo(String category)
Retrieves, or creates the info class for the specified category.
|