类 LootConditionManager

  • 所有已实现的接口:
    ResourceReloader

    public class LootConditionManager
    extends JsonDataLoader
    Mappings:
    Namespace Name
    official dhu
    intermediary net/minecraft/class_4567
    named net/minecraft/loot/condition/LootConditionManager
    • 字段详细资料

      • LOGGER

        private static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official a Ldhu;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

        private static final Gson GSON
        Mappings:
        Namespace Name Mixin selector
        official b Ldhu;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

        private Map<Identifier,​LootCondition> conditions
        Mappings:
        Namespace Name Mixin selector
        official c Ldhu;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;
    • 构造器详细资料

      • LootConditionManager

        public LootConditionManager()
    • 方法详细资料

      • get

        @Nullable
        public @Nullable LootCondition get​(Identifier id)
        Mappings:
        Namespace Name Mixin selector
        official a Ldhu;a(Lwp;)Ldkh;
        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)
        从类复制的说明: SinglePreparationResourceReloader
        Handles 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 object
        resourceManager - the resource manager
        profiler - the apply profiler
        Mappings:
        Namespace Name Mixin selector
        official a Ldhu;a(Ljava/util/Map;Ladl;Lapl;)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

        public Set<Identifier> getIds()
        Mappings:
        Namespace Name Mixin selector
        official a Ldhu;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;