public class BlockModelShapes
extends java.lang.Object
Constructor and Description |
---|
BlockModelShapes(ModelManager manager) |
Modifier and Type | Method and Description |
---|---|
BlockStateMapper |
getBlockStateMapper() |
IBakedModel |
getModelForState(IBlockState state) |
ModelManager |
getModelManager() |
TextureAtlasSprite |
getTexture(IBlockState state) |
void |
registerBlockWithStateMapper(Block assoc,
IStateMapper stateMapper) |
void |
registerBuiltInBlocks(Block... builtIns) |
void |
reloadModels() |
public BlockModelShapes(ModelManager manager)
public BlockStateMapper getBlockStateMapper()
public TextureAtlasSprite getTexture(IBlockState state)
public IBakedModel getModelForState(IBlockState state)
public ModelManager getModelManager()
public void reloadModels()
public void registerBlockWithStateMapper(Block assoc, IStateMapper stateMapper)
public void registerBuiltInBlocks(Block... builtIns)