Package net.minecraft.loot.condition
Class LootConditionManager
java.lang.Object
net.minecraft.resource.SinglePreparationResourceReloader<Map<Identifier,JsonElement>>
net.minecraft.resource.JsonDataLoader
net.minecraft.loot.condition.LootConditionManager
- All Implemented Interfaces:
ResourceReloader
- Mappings:
Namespace Name official drlintermediary net/minecraft/class_4567named net/minecraft/loot/condition/LootConditionManager
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloader
ResourceReloader.Synchronizer -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Map<Identifier,LootCondition> private static final Gsonprivate static final org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapply(Map<Identifier, JsonElement> map, ResourceManager resourceManager, Profiler profiler) Handles the prepared intermediate object.get(Identifier id) getIds()Methods inherited from class net.minecraft.resource.JsonDataLoader
prepareMethods inherited from class net.minecraft.resource.SinglePreparationResourceReloader
reloadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resource.ResourceReloader
getName
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official aLdrl;a:Lorg/slf4j/Logger;intermediary field_20753Lnet/minecraft/class_4567;field_20753:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/loot/condition/LootConditionManager;LOGGER:Lorg/slf4j/Logger;
-
GSON
- Mappings:
Namespace Name Mixin selector official bLdrl;b:Lcom/google/gson/Gson;intermediary field_20754Lnet/minecraft/class_4567;field_20754:Lcom/google/gson/Gson;named GSONLnet/minecraft/loot/condition/LootConditionManager;GSON:Lcom/google/gson/Gson;
-
conditions
- Mappings:
Namespace Name Mixin selector official cLdrl;c:Ljava/util/Map;intermediary field_20755Lnet/minecraft/class_4567;field_20755:Ljava/util/Map;named conditionsLnet/minecraft/loot/condition/LootConditionManager;conditions:Ljava/util/Map;
-
-
Constructor Details
-
LootConditionManager
public LootConditionManager()
-
-
Method Details
-
get
- Mappings:
Namespace Name Mixin selector official aLdrl;a(Laaj;)Ldua;intermediary method_22564Lnet/minecraft/class_4567;method_22564(Lnet/minecraft/class_2960;)Lnet/minecraft/class_5341;named getLnet/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) Description copied from class:SinglePreparationResourceReloaderHandles the prepared intermediate object.This method is called in the apply executor, or the game engine, in a reload.
- Specified by:
applyin classSinglePreparationResourceReloader<Map<Identifier,JsonElement>> - Parameters:
map- the prepared objectresourceManager- the resource managerprofiler- the apply profiler- Mappings:
Namespace Name Mixin selector official aLdrl;a(Ljava/util/Map;Lahu;Lawc;)Vintermediary method_22563Lnet/minecraft/class_4567;method_22563(Ljava/util/Map;Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)Vnamed applyLnet/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 aLdrl;a()Ljava/util/Set;intermediary method_22559Lnet/minecraft/class_4567;method_22559()Ljava/util/Set;named getIdsLnet/minecraft/loot/condition/LootConditionManager;getIds()Ljava/util/Set;
-