Here is a picture of my project Setup.
http://imgur.com/a/eK0nI
Blockstate:
{
"forge_marker": 1,
"defaults": {
"transform": "forge:default-block",
"textures": {"all": "lptwo:blocks/solid/ore_rutile"},
"model": "cube_all"
},
"variants": {
"inventory": [{"textures": {"all": "lptwo:blocks/solid/ore_rutile"}}],
"normal": [{"textures": {"all": "lptwo:blocks/solid/ore_rutile"}}]
}
}
models.block:
{
"parent": "block/cube_all",
"textures": {
"all": "lptwo:blocks/solid/ore_rutile"
}
}
models.item:
{
"parent":"lptwo:block/ore_rutile",
"display": {
"thirdperson": {
"rotation": [ 10, -45, 170 ],
"translation": [ 0, 1.5, -2.75 ],
"scale": [ 0.375, 0.375, 0.375 ]
}
}
}
the block itself
public class BlockOreRutile extends Block{
public BlockOreRutile(){
super(Material.ROCK);
setUnlocalizedName(References.NAME_ORE_RUTILE);
setRegistryName(References.RN_ORE_RUTILE);
setCreativeTab(CreativeTabs.BUILDING_BLOCKS);
GameRegistry.register(this);
GameRegistry.register(new ItemBlock(this), getRegistryName());
}
@SideOnly(Side.CLIENT)
public void initModel(){
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(this), 0, new ModelResourceLocation(getRegistryName(), "inventory"));
}
}