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

Ranged mobs do not account for their target's scale attribute when aiming

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.4
    • None
    • Community Consensus
    • Commands
    • Low
    • Platform

      When I reduce my scale attribute to 0.1, blazes and skeletons will sill aim for where my head would have been if my scale were still 1.0, with the result that they very rarely hit me. This likely applies to other ranged mobs as well.

      Expected behavior

      Ranged mobs should aim for the target's upper body regardless of the target's scale attribute. (The accuracy of the attacks would be unaffected, so a smaller scale would still make the target harder to hit.)

      To reproduce

      1. /effect give @s minecraft:regeneration infinite 10 true
      2. /summon minecraft:skeleton ~ ~ ~ {ArmorItems:[{},{},{},{id:"minecraft:carved_pumpkin"}],HandItems:[{id:"minecraft:bow"},{}]}
      3. /summon minecraft:blaze
      4. Move 5 or so blocks away from the summoned mobs and switch into survival mode
        The mobs can hit you reliably
      5. /attribute @s minecraft:scale base set 0.1

        The mobs' projectiles fly over your head, and the skeleton will essentially never hit you, while the blaze may occasionally get lucky with its fireball deviation

            Unassigned Unassigned
            clamlol [Helper] clam lol
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: