Package net.minecraft.loot.condition
Class LootConditionManager
java.lang.Object
net.minecraft.resource.SinglePreparationResourceReloadListener<Map<Identifier,JsonElement>>
net.minecraft.resource.JsonDataLoader
net.minecraft.loot.condition.LootConditionManager
- All Implemented Interfaces:
ResourceReloadListener
public class LootConditionManager extends JsonDataLoader
- Mappings:
Namespace Name official den
intermediary net/minecraft/class_4567
named net/minecraft/loot/condition/LootConditionManager
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
LootConditionManager.AndCondition
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloadListener
ResourceReloadListener.Synchronizer
-
Field Summary
Fields Modifier and Type Field Description private Map<Identifier,LootCondition>
conditions
private static Gson
GSON
private static Logger
LOGGER
-
Constructor Summary
Constructors Constructor Description LootConditionManager()
-
Method Summary
Modifier and Type Method Description protected void
apply(Map<Identifier,JsonElement> map, ResourceManager resourceManager, Profiler profiler)
LootCondition
get(Identifier id)
Set<Identifier>
getIds()
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
Lden;a:Lorg/apache/logging/log4j/Logger;
intermediary field_20753
Lnet/minecraft/class_4567;field_20753:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/loot/condition/LootConditionManager;LOGGER:Lorg/apache/logging/log4j/Logger;
-
GSON
- Mappings:
Namespace Name Mixin selector official b
Lden;b:Lcom/google/gson/Gson;
intermediary field_20754
Lnet/minecraft/class_4567;field_20754:Lcom/google/gson/Gson;
named GSON
Lnet/minecraft/loot/condition/LootConditionManager;GSON:Lcom/google/gson/Gson;
-
conditions
- Mappings:
Namespace Name Mixin selector official c
Lden;c:Ljava/util/Map;
intermediary field_20755
Lnet/minecraft/class_4567;field_20755:Ljava/util/Map;
named conditions
Lnet/minecraft/loot/condition/LootConditionManager;conditions:Ljava/util/Map;
-
-
Constructor Details
-
LootConditionManager
public LootConditionManager()
-
-
Method Details
-
get
- Mappings:
Namespace Name Mixin selector official a
Lden;a(Lwb;)Ldha;
intermediary method_22564
Lnet/minecraft/class_4567;method_22564(Lnet/minecraft/class_2960;)Lnet/minecraft/class_5341;
named get
Lnet/minecraft/loot/condition/LootConditionManager;get(Lnet/minecraft/util/Identifier;)Lnet/minecraft/loot/condition/LootCondition;
-
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
Lden;a(Ljava/util/Map;Lacx;Laos;)V
intermediary method_22563
Lnet/minecraft/class_4567;method_22563(Ljava/util/Map;Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)V
named apply
Lnet/minecraft/loot/condition/LootConditionManager;apply(Ljava/util/Map;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)V
-
getIds
- Mappings:
Namespace Name Mixin selector official a
Lden;a()Ljava/util/Set;
intermediary method_22559
Lnet/minecraft/class_4567;method_22559()Ljava/util/Set;
named getIds
Lnet/minecraft/loot/condition/LootConditionManager;getIds()Ljava/util/Set;
-