public class BlockStateLoader
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BlockStateLoader.Marker |
static class |
BlockStateLoader.SubModel |
Constructor and Description |
---|
BlockStateLoader() |
Modifier and Type | Method and Description |
---|---|
static ModelBlockDefinition |
load(java.io.Reader reader,
ResourceLocation location,
com.google.gson.Gson vanillaGSON)
Loads a BlockStates json file.
|
public static ModelBlockDefinition load(java.io.Reader reader, ResourceLocation location, com.google.gson.Gson vanillaGSON)
reader
- json readlocation
- blockstate locationvanillaGSON
- ModelBlockDefinition's GSON reader.