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_TYPEStock 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.toSerializeMethods 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 TypeClassDescriptionclassLoot modifier that rolls one loot table (the "subtable" and adds the results to the loot being modified (the "target table").classA base implementation of a Global Loot Modifier for modders to extend.Subclasses with type arguments of type IGlobalLootModifier in net.neoforged.neoforge.common.lootFields in net.neoforged.neoforge.common.loot with type parameters of type IGlobalLootModifierModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Optional<WithConditions<IGlobalLootModifier>>> IGlobalLootModifier.CONDITIONAL_CODECstatic final com.mojang.serialization.Codec<IGlobalLootModifier> IGlobalLootModifier.DIRECT_CODECprivate BiMap<Identifier, IGlobalLootModifier> LootModifierManager.registeredLootModifiersprivate List<IGlobalLootModifier> LootModifierManager.sortedModifiersMethods in net.neoforged.neoforge.common.loot that return IGlobalLootModifierMethods 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.getSortedModifiers()Returns an iterable view of all loot modifiers, sorted in the order they should be applied.Methods in net.neoforged.neoforge.common.loot with parameters of type IGlobalLootModifierModifier and TypeMethodDescriptionLootModifierManager.getId(IGlobalLootModifier modifier) Returns the ID of the given loot modifier, or null if it is not registered.Method parameters in net.neoforged.neoforge.common.loot with type arguments of type IGlobalLootModifierModifier and TypeMethodDescriptionprotected voidLootModifierManager.apply(Map<Identifier, IGlobalLootModifier> resourceList, ResourceManager resourceManagerIn, ProfilerFiller profilerIn) -
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_SERIALIZERSstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>>> NeoForgeRegistries.Keys.GLOBAL_LOOT_MODIFIER_SERIALIZERS