Class SetAttributesLootFunction.Serializer

java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Serializer<SetAttributesLootFunction>
net.minecraft.loot.function.SetAttributesLootFunction.Serializer
All Implemented Interfaces:
JsonSerializer<SetAttributesLootFunction>
Enclosing class:
SetAttributesLootFunction

public static class SetAttributesLootFunction.Serializer extends ConditionalLootFunction.Serializer<SetAttributesLootFunction>
Mappings:
Namespace Name
official ebd$d
intermediary net/minecraft/class_137$class_139
named net/minecraft/loot/function/SetAttributesLootFunction$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, SetAttributesLootFunction setAttributesLootFunction, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<SetAttributesLootFunction>
      Overrides:
      toJson in class ConditionalLootFunction.Serializer<SetAttributesLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Lebd$d;a(Lcom/google/gson/JsonObject;Lebd;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_618 Lnet/minecraft/class_137$class_139;method_618(Lcom/google/gson/JsonObject;Lnet/minecraft/class_137;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/function/SetAttributesLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/SetAttributesLootFunction;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public SetAttributesLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
      Specified by:
      fromJson in class ConditionalLootFunction.Serializer<SetAttributesLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Lebd$d;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Leck;)Lebd;
      intermediary method_617 Lnet/minecraft/class_137$class_139;method_617(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_137;
      named fromJson Lnet/minecraft/loot/function/SetAttributesLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/SetAttributesLootFunction;