sound changes, press sounds, remove pitch
This commit is contained in:
parent
c5219ce100
commit
c602585e6a
76 changed files with 231 additions and 251 deletions
|
@ -358,7 +358,7 @@ public class EntityArrow extends Entity implements IProjectile, IObjectData
|
|||
// }
|
||||
}
|
||||
|
||||
this.playSound(SoundEvent.BOWHIT, 1.0F, 1.2F / (this.rand.floatv() * 0.2F + 0.9F));
|
||||
this.playSound(SoundEvent.BOWHIT, 1.0F);
|
||||
|
||||
// if (!(movingobjectposition.entityHit instanceof EntityAITakePlace))
|
||||
// {
|
||||
|
@ -391,7 +391,7 @@ public class EntityArrow extends Entity implements IProjectile, IObjectData
|
|||
this.posX -= this.motionX / (double)f5 * 0.05000000074505806D;
|
||||
this.posY -= this.motionY / (double)f5 * 0.05000000074505806D;
|
||||
this.posZ -= this.motionZ / (double)f5 * 0.05000000074505806D;
|
||||
this.playSound(SoundEvent.BOWHIT, 1.0F, 1.2F / (this.rand.floatv() * 0.2F + 0.9F));
|
||||
this.playSound(SoundEvent.BOWHIT, 1.0F);
|
||||
this.inGround = true;
|
||||
this.arrowShake = 7;
|
||||
this.setIsCritical(false);
|
||||
|
@ -539,7 +539,7 @@ public class EntityArrow extends Entity implements IProjectile, IObjectData
|
|||
|
||||
if (flag)
|
||||
{
|
||||
this.playSound(SoundEvent.POP, 0.2F, ((this.rand.floatv() - this.rand.floatv()) * 0.7F + 1.0F) * 2.0F);
|
||||
this.playSound(SoundEvent.POP, 0.2F);
|
||||
entityIn.onItemPickup(this, 1);
|
||||
this.setDead();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue