mojira.dev
MC-5306

Enchanted blocks don't show enchantment in your hand, inventory, as headwear (skulls/pumpkins) or when dropped on the ground

When you combine a block with an enchantment with enchanted books while the block is in your hand or on the ground the block does not show the enchated glow to any players. It only glows in your inventory.

Linked issues

Attachments

Comments 16

Related to MC-5308

To quote myself:
For all intents and purposes this "works as intended". Blocks can't save the meta-data required to remember names and enchantments. The feature wasn't really intended to be used for those items.

Recommendation to Mojang: Implement a check that the item doesn't have an ID of less than 256 (plus any special cases like Cake and Flower Pots) to make sure people don't waste XP renaming items that can't always remember the necessary meta-data. Make exception for creative mode, because renaming blocks like levers might be useful for adventure maps to name keys.

Blocks in the inventory can still keep that data, so there's no reason they shouldn't be able to glow in your hand.

Adjusted title as blocks not showing enchanting on the ground is intended.

Blocks in the inventory can still keep that data, so there's no reason they shouldn't be able to glow in your hand.

Well the blocks are rendered differently to regular items. Items use a flat 2D graphic and mask a texture over them, blocks use a 3D representation of the block and therefore they can't reuse the same code to render enchantments. Regardless my main point, these items should be blocked from enchantments and renames for the most-part.

Blocks render as 3D in your inventory and in your hand. However, they only glow in your inventory. Items render in 2D in your inventory, and 3D in your hand and on the ground, and glow in all situations. Armor also glows in its 3D render when equipped, as do blocks worn on the head. I think the block-in-hand thing is just an oversight, considering an enchanted block on a monster's head will glow just as well as it will in your inventory.

And where's the fun in blocking enchantments and renames? It's not even possible to enchant them without creative mode or external editors - it doesn't do any harm to a player in survival, and it can be put to great use in adventure maps.

6 more comments

Confirmed for 1.7.4.

Confirmed for 14w04b.

Can the ticket please be revised to acknowledge that the blocks also fail to glow in the inventory?

Confirmed in 14w11b. Can the version tags please be updated?

EDIT: Thank you, Mod Tails.

Confirmed for 1.7.9 and 14w17a

Fixed in 14w25b (except for skull or pumpkin as headwear, but I do think that it is intended.)

Cameron Bess

(Unassigned)

Confirmed

Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w06a, Minecraft 1.5, Snapshot 13w11a, ..., Minecraft 14w11b, Minecraft 1.7.6-pre1, Minecraft 1.7.6-pre2, Minecraft 1.7.9, Minecraft 14w17a

Minecraft 14w25b

Retrieved