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

Projectiles fired from dispensers don't knock back mobs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Minecraft 16w02a
    • Minecraft 1.7.4, Minecraft 1.7.9, Minecraft 1.8, Minecraft 1.8.3, Minecraft 15w47c, Minecraft 1.9 Pre-Release 2, Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.9.3 Pre-Release 2, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w43a, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w15a, Minecraft 1.12.2, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b, Minecraft 18w02a, Minecraft 18w11a, Minecraft 18w16a, Minecraft 18w20c, Minecraft 18w21a, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 19w04b, Minecraft 19w05a, Minecraft 1.14 Pre-Release 5, 1.14.4, 19w36a, 19w37a, 20w06a, 1.16.2, 1.16.3, 1.16.4 Pre-release 2, 1.16.4, 20w46a, 20w51a, 21w05b, 21w06a, 21w07a, 21w11a, 21w14a, 21w17a, 1.17, 1.17.1, 21w39a, 1.18.1, 1.18.2, 22w17a, 1.19, 1.19.2, 1.19.3 Release Candidate 3, 1.19.3, 1.20, 1.20.1, 1.20.2, 1.20.4
    • Confirmed
    • Entities, Projectiles
    • Low
    • Gameplay

      Fireworks, eggs, snowballs, and splash potions of harming fired from dispensers don't knock back mobs, but they do when thrown by the player or a mob such as a snow golem or witch.

      Steps to Reproduce:

      • Build the setup as shown in the attachment below. setup.png
      • Place some snowballs inside of the dispenser.
      • Summon a husk on the diamond block.
      • Use the lever to activate the dispenser and watch the husk closely.

      Observed Behavior:
      Projectiles fired from dispensers don't deal any knockback to entities.

      Expected Behavior:
      Projectiles fired from dispensers would deal knockback to entities.

      Note

      Arrows are not affected by this bug, as they knock back mobs when fired either from a bow or a dispenser.

      Code analysis

      Code analysis by marcono1234 can be found in this comment.

        1. 2019-09-12_11.24.30.png
          867 kB
          Nick Bambridge
        2. MC-44280.mp4
          3.29 MB
          [Mod] Avoma
        3. MC-44280.png
          1.92 MB
          [Mod] Avoma
        4. setup.png
          665 kB
          [Mod] Avoma

            HugoHagglund [Mojang] SHugoh
            nickbambridge Nick Bambridge
            Votes:
            46 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              CHK: