Mojira Archive
MC-273103

Mobs ignore the PickupDelay NBT tag on items

I summoned an item I used as a display because I am working on a custom Lever model.

I set the Age to: -32768 and the PickupDelay: -1

//Summon item that can't despawn or be picked up
/summon item ~ ~ ~ {Item:{id:"lever",Count:1},Age:-32768,PickupDelay:-1,Tags:[LEV]}

//Summon entity to pickup the item
/summon zombie ~ ~ ~ {CanPickUpLoot:1}

The item is unable to be picked up by any player but when a mob steps over it with the CanPickUpLoot tag set to 1 ... it gets immediately picked up by the mob...

Unresolved

ArsiTheFox

2024-06-08, 04:19 AM

2024-07-28, 07:32 AM

3

1

Community Consensus

Low

Platform

Mob behaviour

1.20.6, 1.21 Pre-Release 4, 1.21

-