public class BlockStateLoader
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
BlockStateLoader.ForgeVariant |
static class |
BlockStateLoader.Marker |
static class |
BlockStateLoader.SubModel |
| Modifier and Type | Field and Description |
|---|---|
private static com.google.gson.Gson |
GSON |
| 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.