Uses of Interface
net.minecraftforge.common.loot.IGlobalLootModifier
-
Packages that use IGlobalLootModifier Package Description net.minecraftforge.common.data net.minecraftforge.common.loot net.minecraftforge.debug.gameplay.loot -
-
Uses of IGlobalLootModifier in net.minecraftforge.common.data
Methods in net.minecraftforge.common.data with type parameters of type IGlobalLootModifier Modifier and Type Method Description <T extends IGlobalLootModifier>
voidGlobalLootModifierProvider. add(java.lang.String modifier, GlobalLootModifierSerializer<T> serializer, T instance)
Passes in the data needed to create the file without any extra objects. -
Uses of IGlobalLootModifier in net.minecraftforge.common.loot
Classes in net.minecraftforge.common.loot with type parameters of type IGlobalLootModifier Modifier and Type Class Description class
GlobalLootModifierSerializer<T extends IGlobalLootModifier>
Abstract base deserializer for LootModifiers.Classes in net.minecraftforge.common.loot that implement IGlobalLootModifier Modifier and Type Class Description class
LootModifier
A base implementation of a Global Loot Modifier for modders to extend.Fields in net.minecraftforge.common.loot with type parameters of type IGlobalLootModifier Modifier and Type Field Description private java.util.Map<ResourceLocation,IGlobalLootModifier>
LootModifierManager. registeredLootModifiers
Methods in net.minecraftforge.common.loot that return IGlobalLootModifier Modifier and Type Method Description private IGlobalLootModifier
LootModifierManager. deserializeModifier(ResourceLocation location, com.google.gson.JsonElement element)
Methods in net.minecraftforge.common.loot that return types with arguments of type IGlobalLootModifier Modifier and Type Method Description java.util.Collection<IGlobalLootModifier>
LootModifierManager. getAllLootMods()
An immutable collection of the registered loot modifiers in layered order. -
Uses of IGlobalLootModifier in net.minecraftforge.debug.gameplay.loot
Classes in net.minecraftforge.debug.gameplay.loot that implement IGlobalLootModifier Modifier and Type Class Description private static class
GlobalLootModifiersTest.DungeonLootEnhancerModifier
private static class
GlobalLootModifiersTest.SilkTouchTestModifier
When harvesting blocks with bamboo, this modifier is invoked, via the silk_touch_bamboo loot_modifier jsonprivate static class
GlobalLootModifiersTest.SmeltingEnchantmentModifier
The smelting enchantment causes this modifier to be invoked, via the smelting loot_modifier jsonprivate 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)
-