Class DynamicEntry.Serializer

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

public static class DynamicEntry.Serializer extends LeafEntry.Serializer<DynamicEntry>
Mappings:
Namespace Name
official dzz$a
intermediary net/minecraft/class_67$class_68
named net/minecraft/loot/entry/DynamicEntry$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • addEntryFields

      public void addEntryFields(JsonObject jsonObject, DynamicEntry dynamicEntry, JsonSerializationContext jsonSerializationContext)
      Overrides:
      addEntryFields in class LeafEntry.Serializer<DynamicEntry>
      Mappings:
      Namespace Name Mixin selector
      official a Ldzz$a;a(Lcom/google/gson/JsonObject;Ldzz;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_393 Lnet/minecraft/class_67$class_68;method_393(Lcom/google/gson/JsonObject;Lnet/minecraft/class_67;Lcom/google/gson/JsonSerializationContext;)V
      named addEntryFields Lnet/minecraft/loot/entry/DynamicEntry$Serializer;addEntryFields(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/entry/DynamicEntry;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

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