Class ResourceLocationAdapter

java.lang.Object
com.pixelmonmod.pixelmon.api.util.ResourceLocationAdapter
All Implemented Interfaces:
com.google.gson.JsonDeserializer<net.minecraft.resources.ResourceLocation>

public class ResourceLocationAdapter extends Object implements com.google.gson.JsonDeserializer<net.minecraft.resources.ResourceLocation>
  • Field Details

  • Constructor Details

    • ResourceLocationAdapter

      public ResourceLocationAdapter()
  • Method Details

    • deserialize

      public net.minecraft.resources.ResourceLocation deserialize(com.google.gson.JsonElement json, Type type, com.google.gson.JsonDeserializationContext ctx) throws com.google.gson.JsonParseException
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<net.minecraft.resources.ResourceLocation>
      Throws:
      com.google.gson.JsonParseException