public class BlockModelShapes
extends java.lang.Object
Constructor and Description |
---|
BlockModelShapes(ModelManager manager) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
getModel(IBlockState state) |
static ModelResourceLocation |
getModelLocation(IBlockState state) |
static ModelResourceLocation |
getModelLocation(ResourceLocation location,
IBlockState state) |
ModelManager |
getModelManager() |
static java.lang.String |
getPropertyMapString(java.util.Map<IProperty<?>,java.lang.Comparable<?>> propertyValues) |
TextureAtlasSprite |
getTexture(IBlockState state) |
void |
reloadModels() |
public BlockModelShapes(ModelManager manager)
public TextureAtlasSprite getTexture(IBlockState state)
public IBakedModel getModel(IBlockState state)
public ModelManager getModelManager()
public void reloadModels()
public static ModelResourceLocation getModelLocation(IBlockState state)
public static ModelResourceLocation getModelLocation(ResourceLocation location, IBlockState state)
public static java.lang.String getPropertyMapString(java.util.Map<IProperty<?>,java.lang.Comparable<?>> propertyValues)