The bug
When excluding the namespace of a resource name, the default namespace "minecraft" is supposed to be assumed. This does not work properly for some items. Table here:
Commands
Context | Works? | Examples |
|---|---|---|
Entity ID | ✔ | |
Item ID | ✔ | See also MCPE-164366 |
Block ID | ✔ | See also MCPE-164366 |
Structure ID | ✔ | |
Item components | ✔ | |
Biome ID | ❌ | |
Structure template ID | ❌ | Uniquely, structure IDs default to the bizarre " |
Recipe ID | ❌ | See MCPE-176610 |
Particle ID | ❌ | |
Camera ID | ❌ | |
Fog ID | ❌ | |
Entity event | ❌ | |
Of related relevance is that damage types, effect IDs, enchantment IDs, dimension IDs, and biome IDs are hardcoded resources without namespaces in Bedrock, so their relevant commands (/damage, /effect, /enchant, /execute in, and /locate) will actually produce a syntax error if the minecraft namespace is provided.
Pack files
Context | Works? | Example |
|---|---|---|
Behavior file | ❌ | |
Behavior file components | ❌ | |
Loot table items and functions | ✔ | Entries do not support namespaces, see MCPE-151385 Conditions also do not support namespaces (not yet reported) |
This table is incomplete, I didn't feel like testing every pack file, but I'm pretty sure most of them do not work.
Of related relevance is every pack file that does not support namespaces to begin with: MCPE-137614
This also applies to the camera command
❌/camera @s set free pos ~5
✅/camera @s set minecraft:free pos ~5