mojira.dev
MC-139634

Mobs won't attempt to use shields that they hold

Mobs will not use shields, and the shields themselves are purely visual; they don't block projectiles such as arrows.

Effects on different mobs that have visible held items:

Skeletons and Strays: Use their melee attack (the one they use when holding something other than a bow)

Pillagers and Illusioners: Don't attack (MC-139433)

All other mobs: No difference in behavior

How to reproduce (easily):

  1. Summon a mob without any held item that has "CanPickUpLoot" set. Example:

    /summon zombie ~ ~ ~ {CanPickUpLoot:1b}

    2. Throw a shield at the mob, wait for it to pick it up, and shoot an arrow at the mob's shield

          → Notice the arrow going through the shield and hitting the mob, dealing damage to it.

Linked issues

Attachments

Comments 2

Maked as related to MC-117163 since this is a similar case where a mechanic for players does not work for / affect mobs

Not a bug, but a feature/functionality that's just not implemented.

Yellow01

(Unassigned)

Unconfirmed

(Unassigned)

held-item, mob_Al, shield

Minecraft 1.13.2, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w49a

Retrieved