Uses of Interface
net.neoforged.neoforge.common.loot.IGlobalLootModifier
Packages that use IGlobalLootModifier
Package
Description
-
Uses of IGlobalLootModifier in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common with type parameters of type IGlobalLootModifierModifier and TypeFieldDescriptionstatic final DeferredHolder
<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>, com.mojang.serialization.MapCodec<AddTableLootModifier>> NeoForgeMod.ADD_TABLE_LOOT_MODIFIER_TYPE
Stock loot modifier type that adds loot from a subtable to the final loot.private static final DeferredRegister
<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>> NeoForgeMod.GLOBAL_LOOT_MODIFIER_SERIALIZERS
-
Uses of IGlobalLootModifier in net.neoforged.neoforge.common.data
Fields in net.neoforged.neoforge.common.data with type parameters of type IGlobalLootModifierModifier and TypeFieldDescriptionprivate final Map
<String, WithConditions<IGlobalLootModifier>> GlobalLootModifierProvider.toSerialize
Methods in net.neoforged.neoforge.common.data with type parameters of type IGlobalLootModifierModifier and TypeMethodDescription<T extends IGlobalLootModifier>
voidGlobalLootModifierProvider.add
(String modifier, T instance, List<ICondition> conditions) Passes in the data needed to create the file without any extra objects.<T extends IGlobalLootModifier>
voidGlobalLootModifierProvider.add
(String modifier, T instance, ICondition... conditions) Passes in the data needed to create the file without any extra objects. -
Uses of IGlobalLootModifier in net.neoforged.neoforge.common.loot
Classes in net.neoforged.neoforge.common.loot that implement IGlobalLootModifierModifier and TypeClassDescriptionclass
Loot modifier that rolls one loot table (the "subtable" and adds the results to the loot being modified (the "target table").class
A base implementation of a Global Loot Modifier for modders to extend.Fields in net.neoforged.neoforge.common.loot with type parameters of type IGlobalLootModifierModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Optional<WithConditions<IGlobalLootModifier>>> IGlobalLootModifier.CONDITIONAL_CODEC
static final com.mojang.serialization.Codec
<IGlobalLootModifier> IGlobalLootModifier.DIRECT_CODEC
private Map
<ResourceLocation, IGlobalLootModifier> LootModifierManager.registeredLootModifiers
Methods in net.neoforged.neoforge.common.loot that return types with arguments of type IGlobalLootModifierModifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec
<? extends IGlobalLootModifier> AddTableLootModifier.codec()
com.mojang.serialization.MapCodec
<? 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.neoforged.neoforge.registries
Fields in net.neoforged.neoforge.registries with type parameters of type IGlobalLootModifierModifier and TypeFieldDescriptionstatic final Registry
<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>> NeoForgeRegistries.GLOBAL_LOOT_MODIFIER_SERIALIZERS
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>>> NeoForgeRegistries.Keys.GLOBAL_LOOT_MODIFIER_SERIALIZERS