Class ReferenceLootCondition.Serializer

java.lang.Object
net.minecraft.loot.condition.ReferenceLootCondition.Serializer
All Implemented Interfaces:
JsonSerializer<ReferenceLootCondition>
Enclosing class:
ReferenceLootCondition

public static class ReferenceLootCondition.Serializer extends Object implements JsonSerializer<ReferenceLootCondition>
Mappings:
Namespace Name
official dts$a
intermediary net/minecraft/class_4568$class_4569
named net/minecraft/loot/condition/ReferenceLootCondition$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, ReferenceLootCondition referenceLootCondition, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<ReferenceLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official a Ldts$a;a(Lcom/google/gson/JsonObject;Ldts;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_22582 Lnet/minecraft/class_4568$class_4569;method_22582(Lcom/google/gson/JsonObject;Lnet/minecraft/class_4568;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/condition/ReferenceLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/ReferenceLootCondition;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public ReferenceLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      fromJson in interface JsonSerializer<ReferenceLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official b Ldts$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldts;
      intermediary method_22581 Lnet/minecraft/class_4568$class_4569;method_22581(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_4568;
      named fromJson Lnet/minecraft/loot/condition/ReferenceLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/ReferenceLootCondition;