mojira.dev
MC-7004

CustomName tag loaded for entities (not Mobs) but not saved

Entities (tested with Minecarts (MinecartRideable, MinecartChest, MinecartFurnace), specifically) can load the CustomName tag, and when broken the dropped item has the name, but when placing the item back or saving a world with named entities, the tag is not written. The CustomNameVisible tag has no effect for entities.

If the tags are only intended for mobs, this should be broadened for all entities.

Comments

migrated

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

migrated

Yes, this is still an issue in 1.5.1 - CustomName is still saved and loaded and assigned to the name of the dropped item, but CustomNameVisible is ignored and neither loaded nor saved.

migrated

I looked at it in MCP. Here is what I found:
1) Entities don't have CustomName. Entities don't have CustomNameVisible.
2) Mobs have CustomName. Mobs have CustomNameVisible. Mobs both load and save them.
3) Minecarts have CustomName. Minecarts don't have CustomNameVisible. It looks like minecarts should both load and save CustomName. If there is a bug that they don't save it properly, then I just can't find it. At least not in the middle of the night 🙂

kumasasa

As of 1.6.2 the CustomName of Minecarts is stored and loaded and also kept if the Minecart is broken and placed back.

migrated

(Unassigned)

Unconfirmed

CustomName, NBT, entity, minecart

Snapshot 13w02a, Snapshot 13w02b, Snapshot 13w03a, Minecraft 1.5.1

Minecraft 1.6.2

Retrieved