mojira.dev
MC-307707

/data returns a message about the successful modification of the entity data, despite the fact that non-existent entity data was specified

The /data command can be used to getting, the modification or deletion of various entity data. However, if you specify data in the command that does not exist, the command will still be executed successfully. Learn more about how to reproduce this:

  • Command: /summon minecraft:camel_husk ~ ~ ~ {NoAI:1,Silent:1}

  • Command: /data get entity @n[type=minecraft:camel_husk] BugTracker

The camel-husk data will not be received and an error message will appear.

  • Command: /data remove entity @n[type=minecraft:camel_husk] BugTracker

The camel-husk data will not be deleted and an error message will appear.

  • Command: /data merge entity @n[type=minecraft:camel_husk] {BugTracker:1}

A message will appear stating that the data of the camel-husk has been changed despite the fact that such data does not exist.

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media]

minecraft_982646

(Unassigned)

Confirmed

(Unassigned)

26.2 Snapshot 4

Retrieved