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

Pillagers with Loaded Crossbows Do Not Fire and Instead Reload

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.21
    • Unconfirmed
    • (Unassigned)

      In Minecraft Java Edition 1.21, pillagers equipped with loaded crossbows do not automatically fire when they see a target. Instead, they perform a reload action even though their crossbows are already loaded. This behavior is observed in two scenarios:

      1. Pre-loaded Crossbow via Command: When a pillager is spawned using the command 
        _/give @p minecraft:pillager_spawn_egg{EntityTag:{PersistenceRequired:1b,NoGravity:1b,HandItems:[{id:"minecraft:crossbow",Count:1b,tag:{Charged:1b,ChargedProjectiles:[ {id:"minecraft:arrow"}

        ]}},{}],id:"minecraft:pillager"}} 1_, the pillager will spawn holding a pre-loaded crossbow but will not fire upon seeing a player or enemy. Instead, it will reload the crossbow as if it were empty.

      1. Reloading After Leaving and Re-entering the World: If a pillager loads its crossbow while seeing a player or enemy, and then the player leaves and re-enters the world before the pillager fires, the pillager will hold the loaded crossbow but will still go through the reloading animation.

      This behavior suggests that the pillager's AI does not properly check the state of the crossbow it holds. It is unclear whether this is intended or a bug. The desired behavior is for pillagers to be able to immediately fire upon spotting a target, especially when they are already holding a loaded crossbow.

      Expected Behavior:

      • Pillagers should be able to fire immediately when they see a target, provided they are holding a loaded crossbow.
      • Pre-loaded crossbows should not require a reload animation when the pillager sees a target.

      Actual Behavior:

      • Pillagers perform a reload animation regardless of the crossbow's loaded state.
      • Pillagers do not fire immediately upon spotting a target.

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

              Created:
              Updated:
              Resolved: