mojira.dev
MC-296407

Cannot use many otherwise valid characters for datapack `id` in /datapack create

The issue

In /datapack create, the id argument that determines the folder name of the created pack only allows characters a-z 0-9 _ - ., even though other characters are perfectly valid for folder names, and manually created data packs support them just fine.

How to reproduce

  1. /datapack create "Cool Pack" "A cool pack"

Expected results

Command should succeed

Observed results

Invalid characters in new pack name ‘Cool Pack’

Linked issues

Comments 3

Can you make it more clear what the expected behavior is here? I believe it is that the command doesn’t allow any characters other than a-z 0-9 _ - and . (dot), despite being able to write them in folder names on datapacks, is that correct?

Also, half of your report seems to be asking for a feature on the command syntax, which I don’t think is relevant.

Other than that, I can confirm.

Description updated to be more Formal. (originally written on mobile) Please re-open.

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

AgentM

(Unassigned)

Community Consensus

(Unassigned)

25w15a

Retrieved