mojira.dev
MC-209

Blocks don't retain their names, enchantments, or attributes after being placed and picked up again

The Bug:

Blocks don't retain their names, enchantments, or attributes after being placed and picked up again.

Steps to Reproduce:

  1. Give yourself an enchanted block of dirt by using the command provided below.

    /give @s minecraft:dirt[minecraft:enchantments={"minecraft:protection":1}]
  2. Place down the dirt, pick it back up, and observe if the dirt is still enchanted.

Observed Behavior:

The names, enchantments, and attributes are lost after the said block is picked up after being placed down.

Expected Behavior:

The names, enchantments, and attributes would be retained after the said block is picked up after being placed down.

Linked issues

MC-272956 When renaming a block and installing it, its name is lost Resolved MC-239704 The name of the item does not remain after its destruction Resolved MC-235270 Enchanted carved pumpkin will drop un-enchanted when placed Resolved MC-233442 Blocks don't keep custom names Resolved MC-231692 Renamed stone button reverts to original name Resolved

Attachments

Comments 76

Please, Comment 🙂

This will never happen. Blocks != items.

Hi Tuna.

First of all, across your last few reports you've been very impatient and have left several comments demanding replies. We are not robots, instead most of us are volunteers here, so please do not comment on your own report or beg for replies, especially not after only a couple of minutes.

Second of all, while it's possible to rename dirt and other block objects, persistence of these names is not going to be added to Minecraft. If you mine dirt, it's going to be dirt, no matter what name you previously chose it to be.

OK, I find some bugs 😃

66 more comments

Is it really necessary to be fixed? they would have to add a new component to all blocks with string values

Can confirm this is still an issue on 26.2 and 26.3 Pre-Release 3.

yeah i don't understand, it would be huge to track all this data, and to make sure every loot table accepts these datas / doesn't where relevant would just be a huge task for imo small value.

Avoma

(Unassigned)

Confirmed

Platform

Low

Block states

Minecraft 1.4.2, 1.15.2, 20w13b, 20w14a, 20w15a, , 1.21.5, 1.21.6, 1.21.7, 26.2, 26.3

Retrieved