public class ModelBlockDefinition
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ModelBlockDefinition.Deserializer |
class |
ModelBlockDefinition.MissingVariantException |
Constructor and Description |
---|
ModelBlockDefinition(java.util.List<ModelBlockDefinition> p_i46222_1_) |
ModelBlockDefinition(java.util.Map<java.lang.String,VariantList> variants,
Multipart multipartIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
Multipart |
getMultipartData() |
java.util.Set<VariantList> |
getMultipartVariants() |
VariantList |
getVariant(java.lang.String p_188004_1_) |
int |
hashCode() |
boolean |
hasMultipartData() |
boolean |
hasVariant(java.lang.String p_188000_1_) |
static ModelBlockDefinition |
parseFromReader(java.io.Reader reader)
Deprecated.
|
static ModelBlockDefinition |
parseFromReader(java.io.Reader reader,
ResourceLocation location) |
public ModelBlockDefinition(java.util.Map<java.lang.String,VariantList> variants, Multipart multipartIn)
public ModelBlockDefinition(java.util.List<ModelBlockDefinition> p_i46222_1_)
@Deprecated public static ModelBlockDefinition parseFromReader(java.io.Reader reader)
public static ModelBlockDefinition parseFromReader(java.io.Reader reader, ResourceLocation location)
public boolean hasVariant(java.lang.String p_188000_1_)
public VariantList getVariant(java.lang.String p_188004_1_)
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Set<VariantList> getMultipartVariants()
public boolean hasMultipartData()
public Multipart getMultipartData()