mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 08:48:34 +01:00
Leaf blowers are done.
This commit is contained in:
parent
750d2649c8
commit
8dd0e1a951
2 changed files with 4 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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)",
|
||||
|
|
Loading…
Reference in a new issue