Class CopyStateFunction.Serializer

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

public static class CopyStateFunction.Serializer extends ConditionalLootFunction.Serializer<CopyStateFunction>
Mappings:
Namespace Name
official dlb$b
intermediary net/minecraft/class_4488$class_4490
named net/minecraft/loot/function/CopyStateFunction$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, CopyStateFunction copyStateFunction, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<CopyStateFunction>
      Overrides:
      toJson in class ConditionalLootFunction.Serializer<CopyStateFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Ldlb$b;a(Lcom/google/gson/JsonObject;Ldlb;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_21901 Lnet/minecraft/class_4488$class_4490;method_21901(Lcom/google/gson/JsonObject;Lnet/minecraft/class_4488;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/function/CopyStateFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/CopyStateFunction;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public CopyStateFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
      Specified by:
      fromJson in class ConditionalLootFunction.Serializer<CopyStateFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Ldlb$b;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldmt;)Ldlb;
      intermediary method_21900 Lnet/minecraft/class_4488$class_4490;method_21900(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_4488;
      named fromJson Lnet/minecraft/loot/function/CopyStateFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/CopyStateFunction;