Class SetStewEffectLootFunction.Serializer

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

public static class SetStewEffectLootFunction.Serializer extends ConditionalLootFunction.Serializer<SetStewEffectLootFunction>
Mappings:
Namespace Name
official dtg$b
intermediary net/minecraft/class_152$class_154
named net/minecraft/loot/function/SetStewEffectLootFunction$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, SetStewEffectLootFunction setStewEffectLootFunction, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<SetStewEffectLootFunction>
      Overrides:
      toJson in class ConditionalLootFunction.Serializer<SetStewEffectLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Ldtg$b;a(Lcom/google/gson/JsonObject;Ldtg;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_642 Lnet/minecraft/class_152$class_154;method_642(Lcom/google/gson/JsonObject;Lnet/minecraft/class_152;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/function/SetStewEffectLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/SetStewEffectLootFunction;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public SetStewEffectLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
      Specified by:
      fromJson in class ConditionalLootFunction.Serializer<SetStewEffectLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Ldtg$b;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldtz;)Ldtg;
      intermediary method_641 Lnet/minecraft/class_152$class_154;method_641(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_152;
      named fromJson Lnet/minecraft/loot/function/SetStewEffectLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/SetStewEffectLootFunction;