Uses of Interface
net.minecraftforge.common.loot.IGlobalLootModifier
Packages that use IGlobalLootModifier
Package
Description
-
Uses of IGlobalLootModifier in net.minecraftforge.common.data
Methods in net.minecraftforge.common.data with type parameters of type IGlobalLootModifierModifier and TypeMethodDescription<T extends IGlobalLootModifier>
voidPasses 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 that implement IGlobalLootModifierModifier and TypeClassDescriptionclassA base implementation of a Global Loot Modifier for modders to extend.Fields in net.minecraftforge.common.loot with type parameters of type IGlobalLootModifierModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<IGlobalLootModifier>IGlobalLootModifier.DIRECT_CODECprivate Map<ResourceLocation,IGlobalLootModifier> LootModifierManager.registeredLootModifiersMethods in net.minecraftforge.common.loot that return types with arguments of type IGlobalLootModifierModifier and TypeMethodDescriptioncom.mojang.serialization.Codec<? extends IGlobalLootModifier>IGlobalLootModifier.codec()Returns the registered codec for this modifierLootModifierManager.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 IGlobalLootModifierModifier and TypeClassDescriptionprivate static classprivate static classWhen harvesting blocks with bamboo, this modifier is invoked, via the silk_touch_bamboo loot_modifier jsonprivate static classThe smelting enchantment causes this modifier to be invoked, via the smelting loot_modifier jsonprivate static classWhen 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)Fields in net.minecraftforge.debug.gameplay.loot with type parameters of type IGlobalLootModifierModifier and TypeFieldDescriptionprivate static final DeferredRegister<com.mojang.serialization.Codec<? extends IGlobalLootModifier>>GlobalLootModifiersTest.GLMMethods in net.minecraftforge.debug.gameplay.loot that return types with arguments of type IGlobalLootModifierModifier and TypeMethodDescriptioncom.mojang.serialization.Codec<? extends IGlobalLootModifier>GlobalLootModifiersTest.DungeonLootEnhancerModifier.codec()com.mojang.serialization.Codec<? extends IGlobalLootModifier>GlobalLootModifiersTest.SilkTouchTestModifier.codec()com.mojang.serialization.Codec<? extends IGlobalLootModifier>GlobalLootModifiersTest.SmeltingEnchantmentModifier.codec()com.mojang.serialization.Codec<? extends IGlobalLootModifier>GlobalLootModifiersTest.WheatSeedsConverterModifier.codec() -
Uses of IGlobalLootModifier in net.minecraftforge.registries
Fields in net.minecraftforge.registries with type parameters of type IGlobalLootModifierModifier and TypeFieldDescription(package private) static final DeferredRegister<com.mojang.serialization.Codec<? extends IGlobalLootModifier>>ForgeRegistries.DEFERRED_GLOBAL_LOOT_MODIFIER_SERIALIZERSstatic final Supplier<IForgeRegistry<com.mojang.serialization.Codec<? extends IGlobalLootModifier>>>ForgeRegistries.GLOBAL_LOOT_MODIFIER_SERIALIZERSCallingSupplier.get()beforeNewRegistryEventis fired will result in a null registry returned.static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends IGlobalLootModifier>>>ForgeRegistries.Keys.GLOBAL_LOOT_MODIFIER_SERIALIZERSMethods in net.minecraftforge.registries that return types with arguments of type IGlobalLootModifierModifier and TypeMethodDescription(package private) static RegistryBuilder<com.mojang.serialization.Codec<? extends IGlobalLootModifier>>GameData.getGLMSerializersRegistryBuilder()