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

Mobs don't shoot correctly from crossbows

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              CHK: