mojira.dev
MC-193977

Villagers and piglins indefinitely stand around items that they can't pick up

The Bug:

Villagers and piglins indefinitely stand around items that they can't pick up.

Steps to Reproduce:

  1. Summon both a gold ingot and a carrot that cannot be picked up by using the commands provided below.

    /summon minecraft:item ~1 ~ ~ {Age:-32768,PickupDelay:32767,Item:{id:"minecraft:gold_ingot",Count:1b}}
    /summon minecraft:item ~-1 ~ ~ {Age:-32768,PickupDelay:32767,Item:{id:"minecraft:carrot",Count:1b}}
  2. Summon both a villager and piglin close by to the dropped items and observe their behavior for a bit.

  3. Take note as to whether or not villagers and piglins indefinitely stand around items that they can't pick up.

Observed Behavior:

Villagers and piglins indefinitely stand around items that they can't pick up.

Expected Behavior:

Villagers and piglins would ignore items that they can't pick up.

Linked issues

Comments 3

[Mod] markderickson

Hi there!

I can confirm.

Avoma

I can confirm in 20w46a.

Avoma

Can confirm in 1.17.

Avoma

(Unassigned)

Community Consensus

Mob behaviour

piglin, villager

1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, ..., 1.20.1, 24w11a, 1.21, 1.21.4, 25w08a

Retrieved