hi
im try to get an specifically an axe, to make multiple blocks when it destroys a block. im currently using the following code.
the item extends axe.
@Override
public boolean onBlockDestroyed(ItemStack ItemStack, World world,
int x, int y, int z, int par6,
EntityLivingBase par7EntityLivingBase) {
if(!world.isRemote){
FMLClientHandler.instance().getServer().worldServerForDimension(0).destroyBlock(x, y + 1, z, true);
}
return false;
}
so in this im trying to destroy the block above the block that was destroyed. i was originally trying to just use world.destroyBlock(x, y +1, z , true) but from looking around I found people talking about using the fmlclienthandler.
any help please