Class BlockStateParser
java.lang.Object
com.google.gson.TypeAdapter<net.buildtheearth.terracore.minecraft.BlockState>
net.buildtheearth.terracore.worldgen.dataset.osm.JsonParser<net.buildtheearth.terracore.minecraft.BlockState>
net.buildtheearth.terracore.worldgen.dataset.osm.BlockStateParser
public final class BlockStateParser
extends JsonParser<net.buildtheearth.terracore.minecraft.BlockState>
Parses block states.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.buildtheearth.terracore.worldgen.dataset.osm.JsonParser
JsonParser.Typed<T> -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionnet.buildtheearth.terracore.minecraft.BlockStateread(com.google.gson.stream.JsonReader in) Methods inherited from class net.buildtheearth.terracore.worldgen.dataset.osm.JsonParser
readList, readTypedList, readTypedList, writeMethods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Field Details
-
INSTANCE
-
-
Method Details
-
read
public net.buildtheearth.terracore.minecraft.BlockState read(com.google.gson.stream.JsonReader in) throws IOException - Specified by:
readin classcom.google.gson.TypeAdapter<net.buildtheearth.terracore.minecraft.BlockState>- Throws:
IOException
-