Uses of Interface
net.minecraftforge.common.loot.IGlobalLootModifier
Package
Description
-
Uses of IGlobalLootModifier in net.minecraftforge.common.data
Modifier and TypeMethodDescription<T extends IGlobalLootModifier>
voidGlobalLootModifierProvider.add
(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
Modifier and TypeClassDescriptionclass
GlobalLootModifierSerializer<T extends IGlobalLootModifier>
Abstract base deserializer for LootModifiers.Modifier and TypeClassDescriptionclass
A base implementation of a Global Loot Modifier for modders to extend.Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,
IGlobalLootModifier> LootModifierManager.registeredLootModifiers
Modifier and TypeMethodDescriptionprivate IGlobalLootModifier
LootModifierManager.deserializeModifier
(ResourceLocation location, com.google.gson.JsonElement element) Modifier and TypeMethodDescriptionLootModifierManager.getAllLootMods()
An immutable collection of the registered loot modifiers in layered order. -
Uses of IGlobalLootModifier in net.minecraftforge.debug.gameplay.loot
Modifier and TypeClassDescriptionprivate static class
private static class
When harvesting blocks with bamboo, this modifier is invoked, via the silk_touch_bamboo loot_modifier jsonprivate static class
The smelting enchantment causes this modifier to be invoked, via the smelting loot_modifier jsonprivate static class
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)