public class ResourceLocationAdapter
extends java.lang.Object
implements com.google.gson.JsonDeserializer<net.minecraft.util.ResourceLocation>
Modifier and Type | Field and Description |
---|---|
static ResourceLocationAdapter |
ADAPTER |
Constructor and Description |
---|
ResourceLocationAdapter() |
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.ResourceLocation |
deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type type,
com.google.gson.JsonDeserializationContext ctx) |
public static final ResourceLocationAdapter ADAPTER
public net.minecraft.util.ResourceLocation deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type type, com.google.gson.JsonDeserializationContext ctx) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<net.minecraft.util.ResourceLocation>
com.google.gson.JsonParseException