Package net.minecraft.client.renderer
Class BlockModelShapes
java.lang.Object
net.minecraft.client.renderer.BlockModelShapes
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<BlockState,IBakedModel> private final ModelManager -
Constructor Summary
Constructors -
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_) voidstatic StringstatePropertiesToString(Map<Property<?>, Comparable<?>> p_209552_0_) static ModelResourceLocationstateToModelLocation(BlockState p_209554_0_) static ModelResourceLocationstateToModelLocation(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_)
-