Class WeatherCheckLootCondition.Serializer

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

public static class WeatherCheckLootCondition.Serializer extends Object implements JsonSerializer<WeatherCheckLootCondition>
Mappings:
Namespace Name
official dyv$b
intermediary net/minecraft/class_227$class_228
named net/minecraft/loot/condition/WeatherCheckLootCondition$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, WeatherCheckLootCondition weatherCheckLootCondition, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<WeatherCheckLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official a Ldyv$b;a(Lcom/google/gson/JsonObject;Ldyv;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_960 Lnet/minecraft/class_227$class_228;method_960(Lcom/google/gson/JsonObject;Lnet/minecraft/class_227;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/condition/WeatherCheckLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/WeatherCheckLootCondition;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public WeatherCheckLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      fromJson in interface JsonSerializer<WeatherCheckLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official b Ldyv$b;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldyv;
      intermediary method_961 Lnet/minecraft/class_227$class_228;method_961(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_227;
      named fromJson Lnet/minecraft/loot/condition/WeatherCheckLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/WeatherCheckLootCondition;