From 18fb3b4beb858242c550c97107b5b03bb502e91e Mon Sep 17 00:00:00 2001 From: justliliandev <36055315+justliliandev@users.noreply.github.com> Date: Fri, 10 Jan 2025 18:24:38 +0100 Subject: [PATCH] Fix mechanical drill and saw using the wrong SoundSource (#7038) --- .../kinetics/base/BlockBreakingKineticBlockEntity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/simibubi/create/content/kinetics/base/BlockBreakingKineticBlockEntity.java b/src/main/java/com/simibubi/create/content/kinetics/base/BlockBreakingKineticBlockEntity.java index 1163bb611c..ceddd76692 100644 --- a/src/main/java/com/simibubi/create/content/kinetics/base/BlockBreakingKineticBlockEntity.java +++ b/src/main/java/com/simibubi/create/content/kinetics/base/BlockBreakingKineticBlockEntity.java @@ -110,7 +110,7 @@ public void tick() { float breakSpeed = getBreakSpeed(); destroyProgress += Mth.clamp((int) (breakSpeed / blockHardness), 1, 10 - destroyProgress); level.playSound(null, worldPosition, stateToBreak.getSoundType() - .getHitSound(), SoundSource.NEUTRAL, .25f, 1); + .getHitSound(), SoundSource.BLOCKS, .25f, 1); if (destroyProgress >= 10) { onBlockBroken(stateToBreak); @@ -142,7 +142,7 @@ public void onBlockBroken(BlockState stateToBreak) { return; if (level.restoringBlockSnapshots) return; - + ItemEntity itementity = new ItemEntity(level, vec.x, vec.y, vec.z, stack); itementity.setDefaultPickUpDelay(); itementity.setDeltaMovement(Vec3.ZERO);