Class LootTableEntry.Serializer

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

public static class LootTableEntry.Serializer extends LeafEntry.Serializer<LootTableEntry>
Mappings:
Namespace Name
official dsa$a
intermediary net/minecraft/class_83$class_84
named net/minecraft/loot/entry/LootTableEntry$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • addEntryFields

      public void addEntryFields(JsonObject jsonObject, LootTableEntry lootTableEntry, JsonSerializationContext jsonSerializationContext)
      Overrides:
      addEntryFields in class LeafEntry.Serializer<LootTableEntry>
      Mappings:
      Namespace Name Mixin selector
      official a Ldsa$a;a(Lcom/google/gson/JsonObject;Ldsa;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_431 Lnet/minecraft/class_83$class_84;method_431(Lcom/google/gson/JsonObject;Lnet/minecraft/class_83;Lcom/google/gson/JsonSerializationContext;)V
      named addEntryFields Lnet/minecraft/loot/entry/LootTableEntry$Serializer;addEntryFields(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/entry/LootTableEntry;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

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