mojira.dev
MC-132924

/data remove block does not clear CustomName

When executing /data remove block either in the console or through functions, the CustomName of a block is not removed.

To recreate:

  1. Create a new world

  2. Place a nameable block at x y z (e.g. furnace, dropper, dispenser, etc.)

  3. Run /data merge block x y z {CustomName:"\\{\"text\":\"Test\"}"}

  4. Run/data remove block x y z CustomName

Following Step 4, the block will still retain the name "Test". This bug is not simply a visual error, as running /data get block x y z CustomName will return {\"text\":\"Test\"}, confirming that the block data was unmodified by Step 4. Attempting to remove other block data, such as Items, remains functional.

Related issues

Comments

No comments.

kg583

(Unassigned)

Confirmed

Minecraft 1.13-pre6

Retrieved