sound changes, press sounds, remove pitch

This commit is contained in:
Sen 2025-03-18 12:03:56 +01:00
parent c5219ce100
commit c602585e6a
76 changed files with 231 additions and 251 deletions

View file

@ -796,7 +796,7 @@ public abstract class Entity
if (flag2 && this.fire > 0)
{
this.playSound(SoundEvent.FIZZ, 0.7F, 1.6F + (this.rand.floatv() - this.rand.floatv()) * 0.4F);
this.playSound(SoundEvent.FIZZ, 0.7F);
this.fire = -this.fireResistance;
}
@ -850,19 +850,19 @@ 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, block$soundtype.getFrequency());
this.playSound(block$soundtype.getStepSound(), block$soundtype.getVolume() * 0.15F);
}
else if (!blockIn.getMaterial().isLiquid() && block$soundtype.getStepSound() != null)
{
this.playSound(block$soundtype.getStepSound(), block$soundtype.getVolume() * 0.15F, block$soundtype.getFrequency());
this.playSound(block$soundtype.getStepSound(), block$soundtype.getVolume() * 0.15F);
}
}
public void playSound(SoundEvent name, float volume, float pitch)
public void playSound(SoundEvent name, float volume)
{
// if (!this.isSilent())
// {
this.worldObj.playSoundAtEntity(this, name, volume, pitch);
this.worldObj.playSoundAtEntity(this, name, volume);
// }
}
@ -1004,7 +1004,7 @@ public abstract class Entity
f = 1.0F;
}
this.playSound(SoundEvent.SPLASH, f, 1.0F + (this.rand.floatv() - this.rand.floatv()) * 0.4F);
this.playSound(SoundEvent.SPLASH, f);
float f1 = (float)ExtMath.floord(this.getEntityBoundingBox().minY);
for (int i = 0; (float)i < 1.0F + this.width * 20.0F; ++i)