Class BlockModelDefinition
- java.lang.Object
-
- net.minecraft.client.renderer.model.BlockModelDefinition
-
public class BlockModelDefinition extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BlockModelDefinition.ContainerHolder
static class
BlockModelDefinition.Deserializer
-
Field Summary
Fields Modifier and Type Field Description private Multipart
multiPart
private java.util.Map<java.lang.String,VariantList>
variants
-
Constructor Summary
Constructors Constructor Description BlockModelDefinition(java.util.List<BlockModelDefinition> p_i46222_1_)
BlockModelDefinition(java.util.Map<java.lang.String,VariantList> p_i46572_1_, Multipart p_i46572_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object p_equals_1_)
static BlockModelDefinition
fromStream(BlockModelDefinition.ContainerHolder p_209577_0_, java.io.Reader p_209577_1_)
Multipart
getMultiPart()
java.util.Map<java.lang.String,VariantList>
getVariants()
int
hashCode()
boolean
isMultiPart()
-
-
-
Field Detail
-
variants
private final java.util.Map<java.lang.String,VariantList> variants
-
multiPart
private Multipart multiPart
-
-
Constructor Detail
-
BlockModelDefinition
public BlockModelDefinition(java.util.Map<java.lang.String,VariantList> p_i46572_1_, Multipart p_i46572_2_)
-
BlockModelDefinition
public BlockModelDefinition(java.util.List<BlockModelDefinition> p_i46222_1_)
-
-
Method Detail
-
fromStream
public static BlockModelDefinition fromStream(BlockModelDefinition.ContainerHolder p_209577_0_, java.io.Reader p_209577_1_)
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getVariants
public java.util.Map<java.lang.String,VariantList> getVariants()
-
isMultiPart
public boolean isMultiPart()
-
getMultiPart
public Multipart getMultiPart()
-
-