Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-278205

Cancelling EntityShootBowEvent does not cancel the shooting sound

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.21.3
    • None
    • Unconfirmed
    • (Unassigned)

      I have an eventhandler:

      @EventHandler
      public void onShoot(EntityShootBowEvent e) {
          e.setCancelled(true);
      }
      

      The event seems otherwise cancelled (no arrow fired), but the sound still plays. I verified this for players shooting bows and crossbows, pillagers shooting crossbows, and piglins shooting crossbows. When skeletons and strays shoot bows the sound is correctly cancelled.

            Unassigned Unassigned
            FoPzl FoPzl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: