类 BlockModelShaper
java.lang.Object
net.minecraft.client.renderer.block.BlockModelShaper
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getBlockModel
(BlockState pState) getParticleIcon
(BlockState pState) 已过时。getTexture
(BlockState pState, Level level, BlockPos pos) private static <T extends Comparable<T>>
StringgetValue
(Property<T> pProperty, Comparable<?> pValue) void
replaceCache
(Map<BlockState, BakedModel> pModelByStateCache) static String
statePropertiesToString
(Map<Property<?>, Comparable<?>> pPropertyValues) static ModelResourceLocation
stateToModelLocation
(ResourceLocation pLocation, BlockState pState) static ModelResourceLocation
stateToModelLocation
(BlockState pState)
-
字段详细资料
-
modelByStateCache
-
modelManager
-
-
构造器详细资料
-
BlockModelShaper
-
-
方法详细资料
-
getParticleIcon
已过时。 -
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)
-