Class AdvancementEntityPredicateSerializer

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

public class AdvancementEntityPredicateSerializer extends Object
Mappings:
Namespace Name
official cq
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 Lcq;a:Lcq;
      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 Lcq;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 Lcq;a([Ldlh;)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;