mojira.dev
MC-44

When one names a block type using the anvil and it is placed and picked back up it is not named anymore.

When one names a block type using the anvil and it is placed and picked back up it is not named anymore.

I thought that after I named, the pumpkin for example, it would stay named after I wold pick it up.

What actually happened is that when I picked it up it reverted to it's previous name.

To reproduce:
1. Take block to anvil and name
2. place block on the ground
3. Break block and notice the name has reverted to original

Linked issues

Comments 6

This is because the name can't be stored in the block data without making it a tile entity. If it was a tile entity then pistons could not interact with it, among other things. Current blocks only support damage values not strings of information embedded in them.

I experienced the same issue.
I had named my dragon egg but the name reset.

Placeable items should not be re-nameable.

Well the reason I was wondering is because in my LP I have a pumpkin and I named him Wilson, so I was excited to be able to actually name him.

yeah, you can name the item, but similar to how when you place a sign in vechs map and it looses the custom enchantments, (I can find a video showing this if you want), the name is lost when you place it.

No, it's alright, I understand. It would be a lot of changing in the code to make it work otherwise. Oh well, I'll just keep it in my inventory.

Wesley Carton

(Unassigned)

Unconfirmed

block, original, reverted

Minecraft 1.4.1

Retrieved