mojira.dev
MC-271252

Bucket entities lose `CustomNameVisible` tag when picking up and replacing with bucket

Summoned bucket entities with the `CustomNameVisible` tag lose that tag when picked up with a bucket, then replaced in the world.

 

Steps to reproduce:

  1. Summon an Axolotl/Fish/Tadpole with `CustomNameVisible` tag set to `true`.

[media]
  1. Pickup entities with a water bucket.

  2. Place entities in the world from bucket.

[media]

Entities will have the `CustomNameVisible` tag removed.

 

Linked issues

Attachments

Comments 8

I wasn't able to reproduce this, can you please record a video showcasing the bug?

[media]
[media]

As you can see, the entity's name is no longer permanently visible after picking up with a bucket and replacing.

Can confirm in that case.

Many NBT tags, such as effects, equipped items (added via commands), burning time (which might be intentional since water would realistically extinguish it), and attributes, are lost when fish, tadpoles, axolotls are picked up with a bucket. Should we create separate tickets for each of these NBT tags, or should this bug report be updated to indicate that it affects multiple NBT tags?

I'd suggest a different report, since the name itself is kept.

Bucketed entities use a different item component from spawn eggs, they allow only certain fields. There's a reason the bucketed entities don't use entity_data.

Thanks for your advice! I've created separate tickets for these: MC-279904, MC-279905, and MC-279907.

Could you please write about how to reproduce the bug? 🙂

Steps to reproduce are already provided, just not a typed out command (but it does tell you exactly what the command must contain). This report has already been confirmed and has priority assigned, steps to reproduce are not an issue here.

LoL123-Evan

(Unassigned)

Community Consensus

Platform

Normal

Commands, Entities

Minecraft 18w08b, 1.20.5, 1.20.6, 1.21.1

Retrieved