Class SetCountLootFunction.Serializer

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

public static class SetCountLootFunction.Serializer extends ConditionalLootFunction.Serializer<SetCountLootFunction>
Mappings:
Namespace Name
official eam$a
intermediary net/minecraft/class_141$class_142
named net/minecraft/loot/function/SetCountLootFunction$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, SetCountLootFunction setCountLootFunction, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<SetCountLootFunction>
      Overrides:
      toJson in class ConditionalLootFunction.Serializer<SetCountLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Leam$a;a(Lcom/google/gson/JsonObject;Leam;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_623 Lnet/minecraft/class_141$class_142;method_623(Lcom/google/gson/JsonObject;Lnet/minecraft/class_141;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/function/SetCountLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/SetCountLootFunction;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

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