Skip to content

feat(NS): 添加识别码示例#6045

Draft
502y wants to merge 3 commits into
mainfrom
feat/namespace_identifier
Draft

feat(NS): 添加识别码示例#6045
502y wants to merge 3 commits into
mainfrom
feat/namespace_identifier

Conversation

@502y

@502y 502y commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@cfpa-bot cfpa-bot Bot added 1+ 行数标签 config PR 中的更改涉及 Config 文件夹 labels Jun 13, 2026
@boring-cyborg boring-cyborg Bot added 1.12.x Minecraft 版本标签 Forge 包含 Forge 模组 labels Jun 13, 2026
@cfpa-bot

cfpa-bot Bot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor


ℹ 此 PR 没有检测到 CurseForge/Modrinth 模组修改。


💾 基于此 PR 所打包的资源包:


⚠ 检测到一个语言文件,但提交路径不正常。请检查提交路径:Unofficial/lang/zh_cn.lang
⚠ 检测到一个语言文件,但提交路径不正常。请检查提交路径:Stuff/lang/zh_cn.lang


🔛 Diff:


🐖 命令列表 | 问题反馈

  • 🔄 勾选这个复选框来强制刷新

Comment thread config/packer/1.12.2.json
},
"destinationReplacement": {}
},
"rules": {

@mamaruo mamaruo Jun 14, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

request更特定的语义化的字段名

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

request更特定的语义化的字段名

identifierRules(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

namespaceDiscriminator

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

空格一定转换为下划线吗

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

本来想保留空格,但是Packer的正则不允许有空格,原因可能得问一下 @dovisutu

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

参https://zh.minecraft.wiki/w/%E5%91%BD%E5%90%8D%E7%A9%BA%E9%97%B4ID#%E5%90%88%E6%B3%95%E5%AD%97%E7%AC%A6,有空格的话游戏读取资源包的时候会爆
我印象中这里是真的爆了一次之后加的校验,翻翻提交历史可能还翻得出来

@cfpa-bot cfpa-bot Bot added 10+ 行数标签 source and removed 1+ 行数标签 labels Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.12.x Minecraft 版本标签 10+ 行数标签 config PR 中的更改涉及 Config 文件夹 Forge 包含 Forge 模组 source

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants