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-44 When one names a block type using the anvil and it is placed and picked back up it is not named anymore. Resolved MC-874 Anvil Resolved MC-3053 Named item loses name Resolved MC-3102 Misnomer of the object. Resolved MC-5308 When you place down an enchanted or renamed block and pick it back up it isn't enchanted or renamed anymore. Resolved

Attachments

Comments 72

Please, Comment 🙂

tell me pleaseeee

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 😃

62 more comments

Can confirm in 24w10a

If this get fixed, will turn all blocks into tile entities, will cause lag and making them can no longer be moved by pistons.

Affects 1.20.5 pre-release 1.

Can confirm 24w37a

Still in 1.21.8

Tuna YASA

Avoma

(Unassigned)

Confirmed

Platform

Low

Block states

Minecraft 1.4.2, 1.15.2, 20w13b, 20w14a, 20w15a, ..., 1.21.4, 25w08a, 1.21.5, 1.21.6, 1.21.7

Retrieved