[MC-44] When one names a block type using the anvil and it is placed and picked back up it is not named anymore. Created: 24/Oct/12  Updated: 20/Apr/20  Resolved: 25/Oct/12

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.1
Fix Version/s: None

Type: Bug
Reporter: Wesley Carton Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: block, original, reverted
Environment:

Put your operating system (Windows 7, Windows XP, OSX) and Java version if you know it here


Issue Links:
Duplicate
duplicates MC-209 Blocks don't retain their names, ench... Reopened
Confirmation Status: Unconfirmed

 Description   

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



 Comments   
Comment by Wesley Carton [ 24/Oct/12 ]

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.

Comment by [Mod] Ezekiel (ezfe) [ 24/Oct/12 ]

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.

Comment by Wesley Carton [ 24/Oct/12 ]

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.

Comment by Joseph Fowler [ 24/Oct/12 ]

Placeable items should not be re-nameable.

Comment by Caleb Coleman [ 24/Oct/12 ]

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

Comment by [Mod] Ezekiel (ezfe) [ 24/Oct/12 ]

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.

Generated at Sun Jan 12 11:49:37 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.