public static class BlockStateLoader.SubModel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> |
customData |
private boolean |
gui3d |
private ResourceLocation |
model |
private boolean |
smooth |
private IModelState |
state |
private com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> |
textures |
private boolean |
uvLock |
Constructor and Description |
---|
SubModel(IModelState state,
boolean uvLock,
boolean smooth,
boolean gui3d,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> textures,
ResourceLocation model,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> customData) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> |
getCustomData() |
ResourceLocation |
getModelLocation() |
IModelState |
getState() |
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> |
getTextures() |
boolean |
isUVLock() |
private final IModelState state
private final boolean uvLock
private final boolean smooth
private final boolean gui3d
private final com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> textures
@Nullable private final ResourceLocation model
private final com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> customData
public SubModel(IModelState state, boolean uvLock, boolean smooth, boolean gui3d, com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> textures, @Nullable ResourceLocation model, com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> customData)
public IModelState getState()
public boolean isUVLock()
public com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> getTextures()
@Nullable public ResourceLocation getModelLocation()
public com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> getCustomData()