Class SetNameLootFunction.Serializer

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

public static class SetNameLootFunction.Serializer extends ConditionalLootFunction.Serializer<SetNameLootFunction>
Mappings:
Namespace Name
official dkm$a
intermediary net/minecraft/class_3670$class_147
named net/minecraft/loot/function/SetNameLootFunction$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, SetNameLootFunction setNameLootFunction, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<SetNameLootFunction>
      Overrides:
      toJson in class ConditionalLootFunction.Serializer<SetNameLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Ldkm$a;a(Lcom/google/gson/JsonObject;Ldkm;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_630 Lnet/minecraft/class_3670$class_147;method_630(Lcom/google/gson/JsonObject;Lnet/minecraft/class_3670;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/function/SetNameLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/SetNameLootFunction;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public SetNameLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
      Specified by:
      fromJson in class ConditionalLootFunction.Serializer<SetNameLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Ldkm$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldlh;)Ldkm;
      intermediary method_629 Lnet/minecraft/class_3670$class_147;method_629(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_3670;
      named fromJson Lnet/minecraft/loot/function/SetNameLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/SetNameLootFunction;