public static class ForgeBlockStateV1.Variant
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ForgeBlockStateV1.Variant.Deserializer |
Modifier and Type | Field and Description |
---|---|
static java.lang.Object |
SET_VALUE |
Modifier and Type | Method and Description |
---|---|
protected BlockStateLoader.SubModel |
asGenericSubModel() |
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> |
getCustomData() |
java.util.Optional<java.lang.Boolean> |
getGui3d() |
ResourceLocation |
getModel() |
com.google.common.collect.ImmutableMap<java.lang.String,BlockStateLoader.SubModel> |
getOnlyPartsVariant()
Gets a list containing the single variant of each part.
|
java.util.Optional<java.lang.Boolean> |
getSmooth() |
java.util.Optional<IModelState> |
getState() |
com.google.common.collect.ImmutableMap<java.lang.String,java.util.List<ForgeBlockStateV1.Variant>> |
getSubmodels() |
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> |
getTextures() |
java.util.Optional<java.lang.Boolean> |
getUvLock() |
java.util.Optional<java.lang.Integer> |
getWeight() |
boolean |
isModelSet() |
protected BlockStateLoader.SubModel asGenericSubModel()
public com.google.common.collect.ImmutableMap<java.lang.String,BlockStateLoader.SubModel> getOnlyPartsVariant()
public java.util.Optional<java.lang.Boolean> getSmooth()
public java.util.Optional<java.lang.Boolean> getGui3d()
@Nullable public ResourceLocation getModel()
public boolean isModelSet()
public java.util.Optional<IModelState> getState()
public java.util.Optional<java.lang.Boolean> getUvLock()
public java.util.Optional<java.lang.Integer> getWeight()
public com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> getTextures()
public com.google.common.collect.ImmutableMap<java.lang.String,java.util.List<ForgeBlockStateV1.Variant>> getSubmodels()
public com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> getCustomData()