Play Sound Options for Ranged Attacks

This commit is contained in:
Kam committed 2025-03-19 18:07:21 -04:00
1 parent 353d90a00a
commit bcf329c0ae
5 files changed
+20 -1

No files matched your search

@@ -682,7 +682,11 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
EntityProjectile projectile = shoot(entity, stats.accuracy, proj, f == 1);
projectile.damage = event.getDamage();
}
this.playSound(this.stats.fireSound, 2.0F, 1.0f);
if (this.stats.playBurstSound || !this.stats.onSoundBegin) {
this.playSound(this.stats.fireSound, 1.5F, 1.0f);
this.stats.playBurstSound = false;
}
}
}