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();
|
||||
}
|
||||
|
|
|
@ -268,7 +268,7 @@ public class EntityBullet extends Entity implements IProjectile, IObjectData
|
|||
// }
|
||||
}
|
||||
|
||||
this.playSound(SoundEvent.METALHIT, 0.2F, this.rand.floatv() * 0.2F + 1.5F);
|
||||
this.playSound(SoundEvent.METALHIT, 0.2F);
|
||||
|
||||
// this.setDead();
|
||||
}
|
||||
|
@ -285,7 +285,7 @@ public class EntityBullet extends Entity implements IProjectile, IObjectData
|
|||
}
|
||||
else
|
||||
{
|
||||
this.playSound(SoundEvent.METALHIT, 0.5F, this.rand.floatv() * 0.2F + 1.5F);
|
||||
this.playSound(SoundEvent.METALHIT, 0.5F);
|
||||
|
||||
this.setDead();
|
||||
}
|
||||
|
|
|
@ -137,7 +137,7 @@ public class EntityDie extends EntityThrowable implements IObjectData
|
|||
this.setDead();
|
||||
else if(player.inventory.addItemStackToInventory(this.getStack())) {
|
||||
this.setDead();
|
||||
player.worldObj.playSoundAtEntity(player, SoundEvent.POP, 0.2F, ((player.getRNG().floatv() - player.getRNG().floatv()) * 0.7F + 1.0F) * 2.0F);
|
||||
player.worldObj.playSoundAtEntity(player, SoundEvent.POP, 0.2F);
|
||||
player.inventoryContainer.detectAndSendChanges();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -415,7 +415,7 @@ public class EntityHook extends Entity implements IObjectData
|
|||
if (this.ticksCatchableDelay <= 0)
|
||||
{
|
||||
this.motionY -= 0.20000000298023224D;
|
||||
this.playSound(SoundEvent.SPLASH, 0.25F, 1.0F + (this.rand.floatv() - this.rand.floatv()) * 0.4F);
|
||||
this.playSound(SoundEvent.SPLASH, 0.25F);
|
||||
float f8 = (float)ExtMath.floord(this.getEntityBoundingBox().minY);
|
||||
worldserver.spawnParticle(ParticleType.WATER_BUBBLE, this.posX, (double)(f8 + 1.0F), this.posZ, (int)(1.0F + this.width * 20.0F), (double)this.width, 0.0D, (double)this.width, 0.20000000298023224D);
|
||||
worldserver.spawnParticle(ParticleType.WATER_WAKE, this.posX, (double)(f8 + 1.0F), this.posZ, (int)(1.0F + this.width * 20.0F), (double)this.width, 0.0D, (double)this.width, 0.20000000298023224D);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue