Class LocationCheckLootCondition.Serializer

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

public static class LocationCheckLootCondition.Serializer extends Object implements JsonSerializer<LocationCheckLootCondition>
Mappings:
Namespace Name
official duv$a
intermediary net/minecraft/class_205$class_206
named net/minecraft/loot/condition/LocationCheckLootCondition$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, LocationCheckLootCondition locationCheckLootCondition, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<LocationCheckLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official a Lduv$a;a(Lcom/google/gson/JsonObject;Lduv;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_886 Lnet/minecraft/class_205$class_206;method_886(Lcom/google/gson/JsonObject;Lnet/minecraft/class_205;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/condition/LocationCheckLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/LocationCheckLootCondition;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public LocationCheckLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      fromJson in interface JsonSerializer<LocationCheckLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official b Lduv$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lduv;
      intermediary method_885 Lnet/minecraft/class_205$class_206;method_885(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_205;
      named fromJson Lnet/minecraft/loot/condition/LocationCheckLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/LocationCheckLootCondition;