@Override
public void onPlayerStoppedUsing(ItemStack stack, World worldIn, EntityLivingBase entityLiving, int timeLeft) {
if ((stack.getMaxItemUseDuration() - entityLiving.getItemInUseCount()) / 20.0F > 5.0) {
NBTTagCompound tag = stack.getTagCompound();
int radius = tag.getInteger("ToolRadius");
for (int x = -radius; x < radius + 1; x++) {
for (int y = -radius; y < radius + 1; y++) {
for (int z = -radius; z < radius + 1; z++) {
BlockPos blockpos = new Blo