Class BlockModelShaper
java.lang.Object
net.minecraft.client.renderer.block.BlockModelShaper
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBlockModel
(BlockState p_110894_) getParticleIcon
(BlockState p_110883_) Deprecated.getTexture
(BlockState p_110883_, Level level, BlockPos pos) private static <T extends Comparable<T>>
StringgetValue
(Property<T> p_110885_, Comparable<?> p_110886_) void
replaceCache
(Map<BlockState, BakedModel> p_248582_) static String
statePropertiesToString
(Map<Property<?>, Comparable<?>> p_110888_) static ModelResourceLocation
stateToModelLocation
(ResourceLocation p_110890_, BlockState p_110891_) static ModelResourceLocation
stateToModelLocation
(BlockState p_110896_)
-
Field Details
-
modelByStateCache
-
modelManager
-
-
Constructor Details
-
BlockModelShaper
-
-
Method Details
-
getParticleIcon
Deprecated. -
getTexture
-
getBlockModel
-
getModelManager
-
replaceCache
-
stateToModelLocation
-
stateToModelLocation
public static ModelResourceLocation stateToModelLocation(ResourceLocation p_110890_, BlockState p_110891_) -
statePropertiesToString
-
getValue
private static <T extends Comparable<T>> String getValue(Property<T> p_110885_, Comparable<?> p_110886_)
-