public class BlockModelShapes
extends java.lang.Object
Constructor and Description |
---|
BlockModelShapes(ModelManager manager) |
Modifier and Type | Method and Description |
---|---|
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)
Deprecated.
|
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)