Leaf blowers are done.

This commit is contained in:
Flanks255 2023-01-14 16:02:33 -06:00
parent 750d2649c8
commit 8dd0e1a951
2 changed files with 4 additions and 5 deletions

View file

@ -69,7 +69,7 @@ public class ItemLeafBlower extends ItemBase implements IDisplayStandItem {
//Breaks the Blocks
boolean broke = this.breakStuff(world, x, y, z);
//Plays a Minecart sounds (It really sounds like a Leaf Blower!)
world.playSound(null, x, y, z, SoundEvents.MINECART_RIDING, SoundCategory.PLAYERS, 0.3F, 0.001F);
world.playSound(null, x, y, z, SoundEvents.MINECART_RIDING, SoundCategory.PLAYERS, 0.2F, 0.001F);
return broke;
}
}
@ -100,7 +100,7 @@ public class ItemLeafBlower extends ItemBase implements IDisplayStandItem {
BlockPos pos = new BlockPos(x + reachX, y + reachY, z + reachZ);
Block block = world.getBlockState(pos).getBlock();
if ((block instanceof BushBlock || block instanceof IForgeShearable) && (this.isAdvanced || block instanceof LeavesBlock)) {
if ((block instanceof BushBlock || block instanceof IForgeShearable) && (this.isAdvanced || !(block instanceof LeavesBlock))) {
breakPositions.add(pos);
}
}

View file

@ -322,9 +322,8 @@
"item.actuallyadditions.ring": "Ring (wip)",
"item.actuallyadditions.ring.storage": "Blaze Stored (wip)",
"item.actuallyadditions.teleport_staff": "Teleport Staff",
"item.actuallyadditions.hairy_ball": "Ball of Fur (wip)",
"item.actuallyadditions.leaf_blower": "Leaf Blower (wip)",
"item.actuallyadditions.advanced_leaf_blower": "Advanced Leaf Blower (wip)",
"item.actuallyadditions.leaf_blower": "Leaf Blower",
"item.actuallyadditions.advanced_leaf_blower": "Advanced Leaf Blower",
"item.actuallyadditions.crafter_on_a_stick": "Crafting Table On A Stick",
"item.actuallyadditions.basic_coil": "Basic Coil (wip)",
"item.actuallyadditions.advanced_coil": "Advanced Coil (wip)",