Class AdvancementEntityPredicateSerializer

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

public class AdvancementEntityPredicateSerializer extends Object
Mappings:
Namespace Name
official ct
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 Lct;a:Lct;
      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 Lct;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 Lct;a([Ldtz;)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;