mojira.dev
MC-260005

Pillagers and piglins can hardly hit the mobs lower than a block with a crossbow

The bug

Pillagers and piglins can hardly hit the mobs lower than a block with a crossbow.
Unlike MC-260003, the pillagers and piglins will try to aim downward, but the angle of aiming downward is still not enough.

Reproduce steps

  1. Give yourself a pillager spawn egg.

  2. Give yourself a piglin spawn egg.

    /give @p piglin_spawn_egg[entity_data={id:piglin,IsImmuneToZombification:1,IsBaby:0,equipment:{mainhand:{id:'minecraft:crossbow'}}}] 1
  3. Give yourself a baby turtal spawn egg.

    /give @p turtle_spawn_egg[entity_data={id:turtle,Age:-999999}] 1
  4. Spawning a pillager or piglin.

  5. Spawning a baby turtle on the third block from the pillager or piglin.

  6. Use the following command:

    Pillager

    /damage @e[type=minecraft:pillager,limit=1] 1 minecraft:generic by @e[type=minecraft:turtle,limit=1] from @e[type=minecraft:turtle,limit=1]

    Piglin

    /damage @e[type=minecraft:piglin,limit=1] 1 minecraft:generic by @e[type=minecraft:turtle,limit=1] from @e[type=minecraft:turtle,limit=1]
  7. Found out that the pillager or piglin is difficult to hit the target.

Linked issues

Attachments

Comments 1

Can confirm

[Mod]Les3awe

(Unassigned)

Confirmed

Platform

Low

Mob behaviour

pillager

1.19.3, 23w06a, 23w07a, 1.19.4 Pre-release 1, 1.19.4 Pre-release 2, ..., 25w09b, 1.21.5 Release Candidate 1, 1.21.5, 25w17a, 1.21.6 Pre-Release 3

Retrieved