Class AdvancementEntityPredicateSerializer

java.lang.Object
net.minecraft.predicate.entity.AdvancementEntityPredicateSerializer

public class AdvancementEntityPredicateSerializer extends Object
Mappings:
Namespace Name
official cr
intermediary net/minecraft/class_5267
named net/minecraft/predicate/entity/AdvancementEntityPredicateSerializer
  • Field Details

    • INSTANCE

      public static final AdvancementEntityPredicateSerializer INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official a Lcr;a:Lcr;
      intermediary field_24420 Lnet/minecraft/class_5267;field_24420:Lnet/minecraft/class_5267;
      named INSTANCE Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;INSTANCE:Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;
    • gson

      private final Gson gson
      Mappings:
      Namespace Name Mixin selector
      official b Lcr;b:Lcom/google/gson/Gson;
      intermediary field_24421 Lnet/minecraft/class_5267;field_24421:Lcom/google/gson/Gson;
      named gson Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;gson:Lcom/google/gson/Gson;
  • Constructor Details

    • AdvancementEntityPredicateSerializer

      public AdvancementEntityPredicateSerializer()
  • Method Details

    • conditionsToJson

      public final JsonElement conditionsToJson(LootCondition[] conditions)
      Mappings:
      Namespace Name Mixin selector
      official a Lcr;a([Ldmt;)Lcom/google/gson/JsonElement;
      intermediary method_27849 Lnet/minecraft/class_5267;method_27849([Lnet/minecraft/class_5341;)Lcom/google/gson/JsonElement;
      named conditionsToJson Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;conditionsToJson([Lnet/minecraft/loot/condition/LootCondition;)Lcom/google/gson/JsonElement;