Class TimeCheckLootCondition.Serializer

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

public static class TimeCheckLootCondition.Serializer extends Object implements JsonSerializer<TimeCheckLootCondition>
Mappings:
Namespace Name
official dnb$b
intermediary net/minecraft/class_4571$class_4572
named net/minecraft/loot/condition/TimeCheckLootCondition$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, TimeCheckLootCondition timeCheckLootCondition, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<TimeCheckLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official a Ldnb$b;a(Lcom/google/gson/JsonObject;Ldnb;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_22591 Lnet/minecraft/class_4571$class_4572;method_22591(Lcom/google/gson/JsonObject;Lnet/minecraft/class_4571;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/condition/TimeCheckLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/TimeCheckLootCondition;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public TimeCheckLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      fromJson in interface JsonSerializer<TimeCheckLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official b Ldnb$b;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldnb;
      intermediary method_22590 Lnet/minecraft/class_4571$class_4572;method_22590(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_4571;
      named fromJson Lnet/minecraft/loot/condition/TimeCheckLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/TimeCheckLootCondition;