Package net.minecraft.loot.function
Class LootFunctionManager
java.lang.Object
net.minecraft.resource.SinglePreparationResourceReloadListener<Map<Identifier,JsonElement>>
net.minecraft.resource.JsonDataLoader
net.minecraft.loot.function.LootFunctionManager
- All Implemented Interfaces:
ResourceReloadListener
public class LootFunctionManager extends JsonDataLoader
- Mappings:
Namespace Name official deh
intermediary net/minecraft/class_5640
named net/minecraft/loot/function/LootFunctionManager
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
LootFunctionManager.AndFunction
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloadListener
ResourceReloadListener.Synchronizer
-
Field Summary
Fields Modifier and Type Field Description private Map<Identifier,LootFunction>
functions
private static Gson
GSON
private static Logger
LOGGER
private LootConditionManager
lootConditionManager
private LootManager
lootManager
-
Constructor Summary
Constructors Constructor Description LootFunctionManager(LootConditionManager lootConditionManager, LootManager lootManager)
-
Method Summary
Modifier and Type Method Description protected void
apply(Map<Identifier,JsonElement> map, ResourceManager resourceManager, Profiler profiler)
LootFunction
get(Identifier id)
Set<Identifier>
getFunctionIds()
Methods inherited from class net.minecraft.resource.JsonDataLoader
prepare
Methods inherited from class net.minecraft.resource.SinglePreparationResourceReloadListener
reload
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.resource.ResourceReloadListener
getName
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Ldeh;a:Lorg/apache/logging/log4j/Logger;
intermediary field_27899
Lnet/minecraft/class_5640;field_27899:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/loot/function/LootFunctionManager;LOGGER:Lorg/apache/logging/log4j/Logger;
-
GSON
- Mappings:
Namespace Name Mixin selector official b
Ldeh;b:Lcom/google/gson/Gson;
intermediary field_27900
Lnet/minecraft/class_5640;field_27900:Lcom/google/gson/Gson;
named GSON
Lnet/minecraft/loot/function/LootFunctionManager;GSON:Lcom/google/gson/Gson;
-
lootConditionManager
- Mappings:
Namespace Name Mixin selector official c
Ldeh;c:Lden;
intermediary field_27901
Lnet/minecraft/class_5640;field_27901:Lnet/minecraft/class_4567;
named lootConditionManager
Lnet/minecraft/loot/function/LootFunctionManager;lootConditionManager:Lnet/minecraft/loot/condition/LootConditionManager;
-
lootManager
- Mappings:
Namespace Name Mixin selector official d
Ldeh;d:Ldem;
intermediary field_27902
Lnet/minecraft/class_5640;field_27902:Lnet/minecraft/class_60;
named lootManager
Lnet/minecraft/loot/function/LootFunctionManager;lootManager:Lnet/minecraft/loot/LootManager;
-
functions
- Mappings:
Namespace Name Mixin selector official e
Ldeh;e:Ljava/util/Map;
intermediary field_27903
Lnet/minecraft/class_5640;field_27903:Ljava/util/Map;
named functions
Lnet/minecraft/loot/function/LootFunctionManager;functions:Ljava/util/Map;
-
-
Constructor Details
-
LootFunctionManager
- Mappings:
Namespace Name Mixin selector official <init>
Ldeh;<init>(Lden;Ldem;)V
intermediary <init>
Lnet/minecraft/class_5640;<init>(Lnet/minecraft/class_4567;Lnet/minecraft/class_60;)V
named <init>
Lnet/minecraft/loot/function/LootFunctionManager;<init>(Lnet/minecraft/loot/condition/LootConditionManager;Lnet/minecraft/loot/LootManager;)V
-
-
Method Details
-
get
- Mappings:
Namespace Name Mixin selector official a
Ldeh;a(Lwb;)Ldft;
intermediary method_32404
Lnet/minecraft/class_5640;method_32404(Lnet/minecraft/class_2960;)Lnet/minecraft/class_117;
named get
Lnet/minecraft/loot/function/LootFunctionManager;get(Lnet/minecraft/util/Identifier;)Lnet/minecraft/loot/function/LootFunction;
-
apply
protected void apply(Map<Identifier,JsonElement> map, ResourceManager resourceManager, Profiler profiler)- Specified by:
apply
in classSinglePreparationResourceReloadListener<Map<Identifier,JsonElement>>
- Mappings:
Namespace Name Mixin selector official a
Ldeh;a(Ljava/util/Map;Lacx;Laos;)V
intermediary method_32403
Lnet/minecraft/class_5640;method_32403(Ljava/util/Map;Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)V
named apply
Lnet/minecraft/loot/function/LootFunctionManager;apply(Ljava/util/Map;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)V
-
getFunctionIds
- Mappings:
Namespace Name Mixin selector official a
Ldeh;a()Ljava/util/Set;
intermediary method_32399
Lnet/minecraft/class_5640;method_32399()Ljava/util/Set;
named getFunctionIds
Lnet/minecraft/loot/function/LootFunctionManager;getFunctionIds()Ljava/util/Set;
-