I propose that namespaced IDs (e.g., minecraft:redstone_block or my_pack:項目) should be encoded in UTF-8.
Currently, only ASCII characters (a–z, 0–9, _, /, .) are permitted. This makes it impossible to use other languages or special characters for namespaced IDs.
This particularly limits mod and resource pack developers who want to localize their content or make it culturally specific (and do so completely at the code level).
🌍 Better internationalization: Mods or resource packs could use assets named directly in different languages (e.g., Japanese, Arabic, Cyrillic).
🧩 Uniform encoding: UTF-8 is standard in modern programming languages, tools, and file systems.
🔧 Easy integration for developers: UTF-8 strings are already largely compatible with Minecraft's JSON system, so adaptation would be technically feasible.
Converting the encoding for namespaced IDs to UTF-8 is technically unproblematic because it does not affect existing names. This is because UTF-8 is fully backward compatible with ASCII.
Please sign in to leave a comment.
0 Comments