Class LimitCountLootFunction.Serializer

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

public static class LimitCountLootFunction.Serializer extends ConditionalLootFunction.Serializer<LimitCountLootFunction>
Mappings:
Namespace Name
official dsp$a
intermediary net/minecraft/class_114$class_115
named net/minecraft/loot/function/LimitCountLootFunction$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, LimitCountLootFunction limitCountLootFunction, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<LimitCountLootFunction>
      Overrides:
      toJson in class ConditionalLootFunction.Serializer<LimitCountLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Ldsp$a;a(Lcom/google/gson/JsonObject;Ldsp;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_510 Lnet/minecraft/class_114$class_115;method_510(Lcom/google/gson/JsonObject;Lnet/minecraft/class_114;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/function/LimitCountLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/LimitCountLootFunction;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public LimitCountLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
      Specified by:
      fromJson in class ConditionalLootFunction.Serializer<LimitCountLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Ldsp$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldua;)Ldsp;
      intermediary method_509 Lnet/minecraft/class_114$class_115;method_509(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_114;
      named fromJson Lnet/minecraft/loot/function/LimitCountLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/LimitCountLootFunction;