mojira.dev
MC-194720

Piglins inspecting gold ingots aren't persistent

Piglins can pick up items, and will have persistence of 1b, which means they leave mobcap and do not despawn. However, inspecting an item does give them persistence 1b, meaning they do not leave mobcap and they will despawn.

This does not apply to items other items such as swords which the piglin picks up, wherein the persistence is set to 1b.

How to reproduce:
use "/data get entity " on the piglin. It has persistence 0b. Give it gold, and the persistence will be 0b. 

Attachments

Comments

No comments.

migrated

(Unassigned)

Confirmed

Entities, Mob behaviour

Piglin, Piglins, barter, bartering, persistence

1.16.1, 20w28a

Retrieved