hello i am trying with a fuction to destroy a block
but the world.destroyBlock isnt there anymore
public void breakBlock(World par1World, int par2, int par3, int par4, Block par5, int par6)
{
if (par1World.getBlock(par2, par3 + 1, par4) == Blocks.dirt)
{
par1World.destroyBlock(par2, par3 + 1, par4, true);
}
super.breakBlock(par1World, par2, par3, par4, par5, par6);
}
i tried par1World.removeTileEntity but that doesnt work as well