Class BlockModelDefinition
java.lang.Object
net.minecraft.client.renderer.block.model.BlockModelDefinition
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static class
protected class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBlockModelDefinition
(List<BlockModelDefinition> p_111535_) BlockModelDefinition
(Map<String, MultiVariant> p_111537_, MultiPart p_111538_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static BlockModelDefinition
fromJsonElement
(BlockModelDefinition.Context p_249700_, com.google.gson.JsonElement p_250730_) static BlockModelDefinition
fromStream
(BlockModelDefinition.Context p_111541_, Reader p_111542_) getVariant
(String p_173429_) int
hashCode()
boolean
hasVariant
(String p_173426_) boolean
-
Field Details
-
variants
-
multiPart
-
-
Constructor Details
-
BlockModelDefinition
-
BlockModelDefinition
-
-
Method Details
-
fromStream
public static BlockModelDefinition fromStream(BlockModelDefinition.Context p_111541_, Reader p_111542_) -
fromJsonElement
public static BlockModelDefinition fromJsonElement(BlockModelDefinition.Context p_249700_, com.google.gson.JsonElement p_250730_) -
hasVariant
-
getVariant
-
equals
-
hashCode
public int hashCode() -
getVariants
-
getMultiVariants
-
isMultiPart
public boolean isMultiPart() -
getMultiPart
-