public class BlockModelShapes
extends java.lang.Object
コンストラクタと説明 |
---|
BlockModelShapes(ModelManager manager) |
修飾子とタイプ | メソッドと説明 |
---|---|
IBakedModel |
getModel(BlockState state) |
static ModelResourceLocation |
getModelLocation(BlockState state) |
static ModelResourceLocation |
getModelLocation(ResourceLocation location,
BlockState state) |
ModelManager |
getModelManager() |
static java.lang.String |
getPropertyMapString(java.util.Map<IProperty<?>,java.lang.Comparable<?>> propertyValues) |
TextureAtlasSprite |
getTexture(BlockState state)
非推奨です。
|
TextureAtlasSprite |
getTexture(BlockState state,
World world,
BlockPos pos) |
void |
reloadModels() |
public BlockModelShapes(ModelManager manager)
@Deprecated public TextureAtlasSprite getTexture(BlockState state)
public TextureAtlasSprite getTexture(BlockState state, World world, BlockPos pos)
public IBakedModel getModel(BlockState state)
public ModelManager getModelManager()
public void reloadModels()
public static ModelResourceLocation getModelLocation(BlockState state)
public static ModelResourceLocation getModelLocation(ResourceLocation location, BlockState state)
public static java.lang.String getPropertyMapString(java.util.Map<IProperty<?>,java.lang.Comparable<?>> propertyValues)