Class TagEntry.Serializer

All Implemented Interfaces:
JsonSerializer<TagEntry>
Enclosing class:
TagEntry

public static class TagEntry.Serializer extends LeafEntry.Serializer<TagEntry>
Mappings:
Namespace Name
official dlz$a
intermediary net/minecraft/class_91$class_92
named net/minecraft/loot/entry/TagEntry$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • addEntryFields

      public void addEntryFields(JsonObject jsonObject, TagEntry tagEntry, JsonSerializationContext jsonSerializationContext)
      Overrides:
      addEntryFields in class LeafEntry.Serializer<TagEntry>
      Mappings:
      Namespace Name Mixin selector
      official a Ldlz$a;a(Lcom/google/gson/JsonObject;Ldlz;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_451 Lnet/minecraft/class_91$class_92;method_451(Lcom/google/gson/JsonObject;Lnet/minecraft/class_91;Lcom/google/gson/JsonSerializationContext;)V
      named addEntryFields Lnet/minecraft/loot/entry/TagEntry$Serializer;addEntryFields(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/entry/TagEntry;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      protected TagEntry fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction)
      Specified by:
      fromJson in class LeafEntry.Serializer<TagEntry>
      Mappings:
      Namespace Name Mixin selector
      official a Ldlz$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Ldnv;[Ldmn;)Ldlz;
      intermediary method_450 Lnet/minecraft/class_91$class_92;method_450(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/class_5341;[Lnet/minecraft/class_117;)Lnet/minecraft/class_91;
      named fromJson Lnet/minecraft/loot/entry/TagEntry$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/loot/condition/LootCondition;[Lnet/minecraft/loot/function/LootFunction;)Lnet/minecraft/loot/entry/TagEntry;