Class SetNameLootFunction.Serializer

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

public static class SetNameLootFunction.Serializer extends ConditionalLootFunction.Serializer<SetNameLootFunction>
Mappings:
Namespace Name
official dte$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 Ldte$a;a(Lcom/google/gson/JsonObject;Ldte;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 Ldte$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldua;)Ldte;
      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;