Class SetDamageLootFunction.Serializer

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

public static class SetDamageLootFunction.Serializer extends ConditionalLootFunction.Serializer<SetDamageLootFunction>
Mappings:
Namespace Name
official ean$a
intermediary net/minecraft/class_149$class_150
named net/minecraft/loot/function/SetDamageLootFunction$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, SetDamageLootFunction setDamageLootFunction, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<SetDamageLootFunction>
      Overrides:
      toJson in class ConditionalLootFunction.Serializer<SetDamageLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Lean$a;a(Lcom/google/gson/JsonObject;Lean;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_636 Lnet/minecraft/class_149$class_150;method_636(Lcom/google/gson/JsonObject;Lnet/minecraft/class_149;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/function/SetDamageLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/SetDamageLootFunction;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public SetDamageLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
      Specified by:
      fromJson in class ConditionalLootFunction.Serializer<SetDamageLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Lean$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lebl;)Lean;
      intermediary method_635 Lnet/minecraft/class_149$class_150;method_635(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_149;
      named fromJson Lnet/minecraft/loot/function/SetDamageLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/SetDamageLootFunction;