类 LootConditionManager
- java.lang.Object
-
- net.minecraft.resource.SinglePreparationResourceReloader<Map<Identifier,JsonElement>>
-
- net.minecraft.resource.JsonDataLoader
-
- net.minecraft.loot.condition.LootConditionManager
-
- 所有已实现的接口:
ResourceReloader
public class LootConditionManager extends JsonDataLoader
- Mappings:
Namespace Name official dhuintermediary net/minecraft/class_4567named net/minecraft/loot/condition/LootConditionManager
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 (专用程序包) static classLootConditionManager.AndCondition-
从接口继承的嵌套类/接口 net.minecraft.resource.ResourceReloader
ResourceReloader.Synchronizer
-
-
字段概要
字段 修饰符和类型 字段 说明 private Map<Identifier,LootCondition>conditionsprivate static GsonGSONprivate static LoggerLOGGER
-
构造器概要
构造器 构造器 说明 LootConditionManager()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidapply(Map<Identifier,JsonElement> map, ResourceManager resourceManager, Profiler profiler)Handles the prepared intermediate object.@Nullable LootConditionget(Identifier id)Set<Identifier>getIds()-
从类继承的方法 net.minecraft.resource.JsonDataLoader
prepare
-
从类继承的方法 net.minecraft.resource.SinglePreparationResourceReloader
reload
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.resource.ResourceReloader
getName
-
-
-
-
字段详细资料
-
LOGGER
private static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official aLdhu;a:Lorg/apache/logging/log4j/Logger;intermediary field_20753Lnet/minecraft/class_4567;field_20753:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/loot/condition/LootConditionManager;LOGGER:Lorg/apache/logging/log4j/Logger;
-
GSON
private static final Gson GSON
- Mappings:
Namespace Name Mixin selector official bLdhu;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
private Map<Identifier,LootCondition> conditions
- Mappings:
Namespace Name Mixin selector official cLdhu;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;
-
-
方法详细资料
-
get
@Nullable public @Nullable LootCondition get(Identifier id)
- Mappings:
Namespace Name Mixin selector official aLdhu;a(Lwp;)Ldkh;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)
从类复制的说明:SinglePreparationResourceReloaderHandles the prepared intermediate object.This method is called in the apply executor, or the game engine, in a reload.
- 指定者:
apply在类中SinglePreparationResourceReloader<Map<Identifier,JsonElement>>- 参数:
map- the prepared objectresourceManager- the resource managerprofiler- the apply profiler- Mappings:
Namespace Name Mixin selector official aLdhu;a(Ljava/util/Map;Ladl;Lapl;)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
public Set<Identifier> getIds()
- Mappings:
Namespace Name Mixin selector official aLdhu;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;
-
-