When a command is given an ID that doesn't exist, the error message shows the internal ResourceKey text instead of the ID.
for example, /summon minecraft:nope gives Can't find element 'ResourceKey[minecraft:entity_type / minecraft:nope]' of type 'minecraft:entity_type instead of Can't find element 'minecraft:nope' of type 'minecraft:entity_type. It affects every command that uses a resource argument. This regression is introduced in 26.4 snapshot 8, which changed ResourceArgument to read the ID as a ResourceKey.
Steps to reproduce:
Open a world with cheats enabled.
Type
/summon minecraft:nopein chat.Look at the error above the chat box, then press enter and observe the result.
Expected result:
Can't find element 'minecraft:nope' of type 'minecraft:entity_type'
Observed result:
Can't find element 'ResourceKey[minecraft:entity_type / minecraft:nope]' of type 'minecraft:entity_type'
Thank you for helping us improve Minecraft! We saved your files: