Class BlockModelShaper
java.lang.Object
net.minecraft.client.renderer.block.BlockModelShaper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBlockModel(BlockState state) getParticleIcon(BlockState state) Deprecated.getTexture(BlockState p_110883_, Level level, BlockPos pos) private static <T extends Comparable<T>>
StringgetValue(Property<T> property, Comparable<?> value) voidreplaceCache(Map<BlockState, BakedModel> modelByStateCache) static StringstatePropertiesToString(Map<Property<?>, Comparable<?>> propertyValues) static ModelResourceLocationstateToModelLocation(ResourceLocation location, BlockState state) static ModelResourceLocationstateToModelLocation(BlockState state)
-
Field Details
-
modelByStateCache
-
modelManager
-
-
Constructor Details
-
BlockModelShaper
-
-
Method Details
-
getParticleIcon
Deprecated. -
getTexture
-
getBlockModel
-
getModelManager
-
replaceCache
-
stateToModelLocation
-
stateToModelLocation
public static ModelResourceLocation stateToModelLocation(ResourceLocation location, BlockState state) -
statePropertiesToString
-
getValue
-