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

Mobs don't shoot correctly from crossbows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 22w45a
    • 22w43a, 22w44a
    • None
    • Confirmed
    • Mob behaviour
    • Very Important
    • Platform

      The bug

      Mobs don't shoot correctly from crossbows.

      To reproduce

      • Summon a pillager or piglin with a crossbow:
        /summon piglin ~ ~ ~ {IsImmuneToZombification:1b, HandItems:[{id: "minecraft:crossbow", Count: 1b, tag: {ChargedProjectiles: [], Damage: 1, Charged: 0b}}, {}]}
        
      • Go to survival mode.
      • Wait for it to attack you.

      Observed result

      The mob will shoot in the completely wrong direction.

      Expected result

      The mob would shoot in the correct direction.

        1. 20221027002659.png
          492 kB
          BLack_Tea_RGO
        2. MC-256884.mp4
          1.19 MB
          [Mod] ampolive

            hawkan [Mojang] hawkan
            ampolive [Mod] ampolive
            Votes:
            11 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: