Class SetLoreLootFunction.Serializer

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

public static class SetLoreLootFunction.Serializer
extends ConditionalLootFunction.Serializer<SetLoreLootFunction>
Mappings:
Namespace Name
official dge$b
intermediary net/minecraft/class_3671$class_3672
named net/minecraft/loot/function/SetLoreLootFunction$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson​(JsonObject jsonObject, SetLoreLootFunction setLoreLootFunction, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<SetLoreLootFunction>
      Overrides:
      toJson in class ConditionalLootFunction.Serializer<SetLoreLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Ldge$b;a(Lcom/google/gson/JsonObject;Ldge;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_15969 Lnet/minecraft/class_3671$class_3672;method_15969(Lcom/google/gson/JsonObject;Lnet/minecraft/class_3671;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/function/SetLoreLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/SetLoreLootFunction;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public SetLoreLootFunction fromJson​(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
      Specified by:
      fromJson in class ConditionalLootFunction.Serializer<SetLoreLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Ldge$b;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldha;)Ldge;
      intermediary method_15968 Lnet/minecraft/class_3671$class_3672;method_15968(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_3671;
      named fromJson Lnet/minecraft/loot/function/SetLoreLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/SetLoreLootFunction;