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) voidreplaceCache(Map<BlockState, BakedModel> pModelByStateCache) static StringstatePropertiesToString(Map<Property<?>, Comparable<?>> pPropertyValues) static ModelResourceLocationstateToModelLocation(ResourceLocation pLocation, BlockState pState) static ModelResourceLocationstateToModelLocation(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)
-