Package net.minecraft.predicate.entity
Class AdvancementEntityPredicateDeserializer
java.lang.Object
net.minecraft.predicate.entity.AdvancementEntityPredicateDeserializer
public class AdvancementEntityPredicateDeserializer extends Object
- Mappings:
Namespace Name official ax
intermediary net/minecraft/class_5257
named net/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer
-
Field Summary
Fields Modifier and Type Field Description private Identifier
advancementId
private LootConditionManager
conditionManager
private Gson
gson
private static Logger
LOGGER
-
Constructor Summary
Constructors Constructor Description AdvancementEntityPredicateDeserializer(Identifier advancementId, LootConditionManager conditionManager)
-
Method Summary
Modifier and Type Method Description Identifier
getAdvancementId()
LootCondition[]
loadConditions(JsonArray array, String key, LootContextType contextType)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lax;a:Lorg/apache/logging/log4j/Logger;
intermediary field_24383
Lnet/minecraft/class_5257;field_24383:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;LOGGER:Lorg/apache/logging/log4j/Logger;
-
advancementId
- Mappings:
Namespace Name Mixin selector official b
Lax;b:Lwb;
intermediary field_24384
Lnet/minecraft/class_5257;field_24384:Lnet/minecraft/class_2960;
named advancementId
Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;advancementId:Lnet/minecraft/util/Identifier;
-
conditionManager
- Mappings:
Namespace Name Mixin selector official c
Lax;c:Lden;
intermediary field_24385
Lnet/minecraft/class_5257;field_24385:Lnet/minecraft/class_4567;
named conditionManager
Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;conditionManager:Lnet/minecraft/loot/condition/LootConditionManager;
-
gson
- Mappings:
Namespace Name Mixin selector official d
Lax;d:Lcom/google/gson/Gson;
intermediary field_24386
Lnet/minecraft/class_5257;field_24386:Lcom/google/gson/Gson;
named gson
Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;gson:Lcom/google/gson/Gson;
-
-
Constructor Details
-
AdvancementEntityPredicateDeserializer
public AdvancementEntityPredicateDeserializer(Identifier advancementId, LootConditionManager conditionManager)- Mappings:
Namespace Name Mixin selector official <init>
Lax;<init>(Lwb;Lden;)V
intermediary <init>
Lnet/minecraft/class_5257;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_4567;)V
named <init>
Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/loot/condition/LootConditionManager;)V
-
-
Method Details
-
loadConditions
public final LootCondition[] loadConditions(JsonArray array, String key, LootContextType contextType)- Mappings:
Namespace Name Mixin selector official a
Lax;a(Lcom/google/gson/JsonArray;Ljava/lang/String;Ldgm;)[Ldha;
intermediary method_27796
Lnet/minecraft/class_5257;method_27796(Lcom/google/gson/JsonArray;Ljava/lang/String;Lnet/minecraft/class_176;)[Lnet/minecraft/class_5341;
named loadConditions
Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;loadConditions(Lcom/google/gson/JsonArray;Ljava/lang/String;Lnet/minecraft/loot/context/LootContextType;)[Lnet/minecraft/loot/condition/LootCondition;
-
getAdvancementId
- Mappings:
Namespace Name Mixin selector official a
Lax;a()Lwb;
intermediary method_27795
Lnet/minecraft/class_5257;method_27795()Lnet/minecraft/class_2960;
named getAdvancementId
Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;getAdvancementId()Lnet/minecraft/util/Identifier;
-