block sounds

This commit is contained in:
Sen 2025-03-18 12:54:37 +01:00
parent c602585e6a
commit 47b9ecbb94
14 changed files with 123 additions and 193 deletions

View file

@ -850,11 +850,11 @@ public abstract class Entity
{
block$soundtype = Blocks.snow_layer.sound;
if(block$soundtype.getStepSound() != null)
this.playSound(block$soundtype.getStepSound(), block$soundtype.getVolume() * 0.15F);
this.playSound(block$soundtype.getStepSound(), 0.15F);
}
else if (!blockIn.getMaterial().isLiquid() && block$soundtype.getStepSound() != null)
{
this.playSound(block$soundtype.getStepSound(), block$soundtype.getVolume() * 0.15F);
this.playSound(block$soundtype.getStepSound(), 0.15F);
}
}