diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemFillingWand.java b/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemFillingWand.java index cf4e7d308..103a3a11f 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemFillingWand.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemFillingWand.java @@ -12,7 +12,6 @@ package de.ellpeck.actuallyadditions.mod.items; import de.ellpeck.actuallyadditions.mod.items.base.ItemEnergy; import de.ellpeck.actuallyadditions.mod.util.StackUtil; -import de.ellpeck.actuallyadditions.mod.util.WorldUtil; import net.minecraft.core.BlockPos; import net.minecraft.core.registries.BuiltInRegistries; import net.minecraft.nbt.CompoundTag; @@ -111,8 +110,8 @@ public class ItemFillingWand extends ItemEnergy { public void releaseUsing(ItemStack stack, Level world, LivingEntity entity, int timeLeft) { if (!world.isClientSide) { boolean clear = true; - if (entity instanceof Player) { - HitResult result = WorldUtil.getNearestBlockWithDefaultReachDistance(world, (Player) entity); + if (entity instanceof Player player) { + HitResult result = player.pick(8f, 1f, false); if (result instanceof BlockHitResult) { CompoundTag compound = stack.getOrCreateTag(); diff --git a/src/main/resources/assets/actuallyadditions/lang/en_us.json b/src/main/resources/assets/actuallyadditions/lang/en_us.json index e2cbaf027..0372ba7c5 100644 --- a/src/main/resources/assets/actuallyadditions/lang/en_us.json +++ b/src/main/resources/assets/actuallyadditions/lang/en_us.json @@ -314,8 +314,8 @@ "item.actuallyadditions.drill_upgrade_fortune": "Drill Fortune Augment I (wip)", "item.actuallyadditions.drill_upgrade_fortune_ii": "Drill Fortune Augment II (Gives Fortune III!) (wip)", "item.actuallyadditions.drill_upgrade_block_placing": "Drill Block Placing Augment (wip)", - "item.actuallyadditions.drill_upgrade_three_by_three": "Drill Mining Augment I (wip)", - "item.actuallyadditions.drill_upgrade_five_by_five": "Drill Mining Augment II (wip)", + "item.actuallyadditions.drill_upgrade_three_by_three": "Drill Area Augment I (wip)", + "item.actuallyadditions.drill_upgrade_five_by_five": "Drill Area Augment II (wip)", "item.actuallyadditions.dough": "Dough (wip)", "item.actuallyadditions.black_quartz": "Black Quartz", "item.actuallyadditions.ring": "Ring",