Class BlockModelShaper
java.lang.Object
net.minecraft.client.renderer.block.BlockModelShaper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBlockModel
(BlockState pState) getParticleIcon
(BlockState pState) Deprecated.getTexture
(BlockState p_110883_, Level level, BlockPos pos) private static <T extends Comparable<T>>
StringgetValue
(Property<T> pProperty, Comparable<?> pValue) void
replaceCache
(Map<BlockState, BakedModel> pModelByStateCache) static String
statePropertiesToString
(Map<Property<?>, Comparable<?>> pPropertyValues) static ModelResourceLocation
stateToModelLocation
(ResourceLocation pLocation, BlockState pState) static ModelResourceLocation
stateToModelLocation
(BlockState pState)
-
Field Details
-
modelByStateCache
-
modelManager
-
-
Constructor Details
-
BlockModelShaper
-
-
Method Details
-
getParticleIcon
Deprecated. -
getTexture
-
getBlockModel
-
getModelManager
-
replaceCache
-
stateToModelLocation
-
stateToModelLocation
public static ModelResourceLocation stateToModelLocation(ResourceLocation pLocation, BlockState pState) -
statePropertiesToString
-
getValue
private static <T extends Comparable<T>> String getValue(Property<T> pProperty, Comparable<?> pValue)
-