Package net.minecraft.client.renderer
Class BlockModelShapes
java.lang.Object
net.minecraft.client.renderer.BlockModelShapes
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<BlockState,
IBakedModel> private final ModelManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBlockModel
(BlockState p_178125_1_) getParticleIcon
(BlockState p_178122_1_) Deprecated.getTexture
(BlockState state, World world, BlockPos pos) private static <T extends Comparable<T>>
StringgetValue
(Property<T> p_209555_0_, Comparable<?> p_209555_1_) void
static String
statePropertiesToString
(Map<Property<?>, Comparable<?>> p_209552_0_) static ModelResourceLocation
stateToModelLocation
(BlockState p_209554_0_) static ModelResourceLocation
stateToModelLocation
(ResourceLocation p_209553_0_, BlockState p_209553_1_)
-
Field Details
-
modelByStateCache
-
modelManager
-
-
Constructor Details
-
BlockModelShapes
-
-
Method Details
-
getParticleIcon
Deprecated. -
getTexture
-
getBlockModel
-
getModelManager
-
rebuildCache
public void rebuildCache() -
stateToModelLocation
-
stateToModelLocation
public static ModelResourceLocation stateToModelLocation(ResourceLocation p_209553_0_, BlockState p_209553_1_) -
statePropertiesToString
-
getValue
private static <T extends Comparable<T>> String getValue(Property<T> p_209555_0_, Comparable<?> p_209555_1_)
-