Class LimitCountLootFunction.Serializer

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

public static class LimitCountLootFunction.Serializer extends ConditionalLootFunction.Serializer<LimitCountLootFunction>
Mappings:
Namespace Name
official eax$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 Leax$a;a(Lcom/google/gson/JsonObject;Leax;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 Leax$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Leck;)Leax;
      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;