Package | Description |
---|---|
net.minecraftforge.common.loot | |
net.minecraftforge.debug.gameplay.loot |
Modifier and Type | Class and Description |
---|---|
class |
GlobalLootModifierSerializer<T extends IGlobalLootModifier>
Abstract base deserializer for LootModifiers.
|
Modifier and Type | Class and Description |
---|---|
class |
LootModifier
A base implementation of a Global Loot Modifier for modders to extend.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ResourceLocation,IGlobalLootModifier> |
LootModifierManager.registeredLootModifiers |
Modifier and Type | Method and Description |
---|---|
private IGlobalLootModifier |
LootModifierManager.deserializeModifier(ResourceLocation location,
com.google.gson.JsonObject object) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IGlobalLootModifier> |
LootModifierManager.getAllLootMods()
An immutable collection of the registered loot modifiers in layered order.
|
Modifier and Type | Class and Description |
---|---|
private static class |
GlobalLootModifiersTest.SilkTouchTestModifier
When harvesting blocks with bamboo, this modifier is invoked, via the silk_touch_bamboo loot_modifier json
|
private static class |
GlobalLootModifiersTest.SmeltingEnchantmentModifier
The smelting enchantment causes this modifier to be invoked, via the smelting loot_modifier json
|
private static class |
GlobalLootModifiersTest.WheatSeedsConverterModifier
When harvesting wheat with shears, this modifier is invoked via the wheat_harvest loot_modifier json
This modifier checks how many seeds were harvested and turns X seeds into Y wheat (3:1) |