mojira.dev
MC-308427

`PersistenceRequired` is not set when renaming a bucketed mob

In 26.2-Snap6 MC-307684 was fixed, preserving the persistence of a renamed mob when picked up. This should be the case for when renaming a bucketed mob in anvil similar to if you named it with a name tag, like how MC-54556 should work (nudge, nudge. entity_data is right there).


Reproduction Steps

  1. Create a new creative world

  2. Rename any bucket-able mob, i.e sulfur cube, axolotl, salmon etc. in a anvil

  3. Either place and do /data get entity @n[type=!minecraft:player] or /data get entity @s SelectedItem with the bucketed mob selected

  4. Note PeristenceRequired is not set (i.e PeristenceRequired: 0b) on the entity or the lack of PeristenceRequired on the item

Linked issues

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media]

TwinEwan

(Unassigned)

1625538

Confirmed

Expansion A

Normal

Items

26.2 Snapshot 8

Retrieved