Do zombies despawn with things in hand?

Mo
3

Can Minecraft zombies despawn with items given later (as a replacement for nametags)?

ry

I mean, sometimes it happens that you hold rotten meat in your hand, for example, and still despawn, but I'm not one hundred percent sure, just give it a try

Ro

Yes do it unless you are named (with a name tag)

Mo

You then die afterwards from the sun