I have tried that with no luck
public firepit(int id, Material Material) {
super(id, Material);
setHardness(0.5F);
setStepSound(Block.soundGlassFootstep);
setLightOpacity(255);
setLightValue(1.0F);
//blockFireSpreadSpeed[this.blockID] = 0;
//blockFlammability[this.blockID] = 20;
//setBlockBounds(0.0F,0.0F,0.0F,1.0F,1.0F,1.0F);
//setBlockBounds(0.0f, 0.0f, 0.0f, 0.6875f, 0.9000f,0.6875f);
}
@Override
public boolean isFireSource(World world, int x, int y, int z, int metadata, ForgeDirection side)
{
return true;
}
@Override
public TileEntity createNewTileEntity(World world) {
// TODO Auto-generated method stub
return new TileEntityfirepitsteel();
}
/**
* Called whenever the block is added into the world. Args: world, x, y, z
*/
@Override
public void onBlockAdded(World par1World, int par2, int par3, int par4) {
super.onBlockAdded(par1World, par2, par3, par4);
//par1World.setBlockToAir(par2 + 1, par3, par4);
par1World.setBlock(par2, par3 + 1, par4, Block.fire.blockID);
}