Class ItemEntry.Serializer

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

public static class ItemEntry.Serializer extends LeafEntry.Serializer<ItemEntry>
Mappings:
Namespace Name
official dzt$a
intermediary net/minecraft/class_77$class_78
named net/minecraft/loot/entry/ItemEntry$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • addEntryFields

      public void addEntryFields(JsonObject jsonObject, ItemEntry itemEntry, JsonSerializationContext jsonSerializationContext)
      Overrides:
      addEntryFields in class LeafEntry.Serializer<ItemEntry>
      Mappings:
      Namespace Name Mixin selector
      official a Ldzt$a;a(Lcom/google/gson/JsonObject;Ldzt;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_412 Lnet/minecraft/class_77$class_78;method_412(Lcom/google/gson/JsonObject;Lnet/minecraft/class_77;Lcom/google/gson/JsonSerializationContext;)V
      named addEntryFields Lnet/minecraft/loot/entry/ItemEntry$Serializer;addEntryFields(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/entry/ItemEntry;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      protected ItemEntry fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction)
      Specified by:
      fromJson in class LeafEntry.Serializer<ItemEntry>
      Mappings:
      Namespace Name Mixin selector
      official a Ldzt$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lecb;[Leaq;)Ldzt;
      intermediary method_413 Lnet/minecraft/class_77$class_78;method_413(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/class_5341;[Lnet/minecraft/class_117;)Lnet/minecraft/class_77;
      named fromJson Lnet/minecraft/loot/entry/ItemEntry$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/ItemEntry;