Skip to content

Commit

Permalink
1.21 仓库支持 (#4654)
Browse files Browse the repository at this point in the history
* Update packer.yml

update 1.21

* Update pr-packer.yml

update 1.21

* Create 1.21.json

* [TEMP]Create pack.mcmeta

* Create packer-policy.json

* [Temp]Create README.md

* Update README.md

Mend the text

* Use format range

target is 1.21(.0) release

* 杂务:复制logo、许可证、readme & 排除ae2guide

* 补上字体修复

* 改描述 加个jei试试

* 回退jei

* 在另一pr干掉guide

---------

Co-authored-by: SlimeSB <[email protected]>
  • Loading branch information
dovisutu and SlimeSB authored Sep 8, 2024
1 parent bf5079a commit 3a8aa12
Show file tree
Hide file tree
Showing 16 changed files with 1,055 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/packer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
matrix:
# 版本列表。将对这里的每个版本判断,按需打包。
# 如需添加新版本,在这里添加即可。
version: [ "1.12.2", "1.16", "1.16-fabric", "1.18", "1.18-fabric", "1.19", "1.20", "1.20-fabric" ]
version: [ "1.12.2", "1.16", "1.16-fabric", "1.18", "1.18-fabric", "1.19", "1.20", "1.20-fabric", "1.21", "1.21-fabric" ]
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-packer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
matrix:
# 支持版本列表。将对这里的每个版本判断,按需打包。
# 如需添加新版本,在这里添加即可。
version: ["1.12.2", "1.16", "1.16-fabric", "1.18", "1.18-fabric", "1.19", "1.20", "1.20-fabric"]
version: ["1.12.2", "1.16", "1.16-fabric", "1.18", "1.18-fabric", "1.19", "1.20", "1.20-fabric", "1.21", "1.21-fabric"]
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -106,4 +106,4 @@ jobs:
with:
name: Minecraft-Mod-Language-Package-${{ matrix.version }}
path: Minecraft-Mod-Language-Package-${{ matrix.version }}/*
if: steps.check-changes.outputs.changed == 'true' || github.event_name == 'workflow_dispatch'
if: steps.check-changes.outputs.changed == 'true' || github.event_name == 'workflow_dispatch'
44 changes: 44 additions & 0 deletions config/packer/1.21-fabric.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"base": {
"version": "1.21-fabric",
"targetLanguages": [
"zh_cn"
],
"exclusionMods": [],
"exclusionNamespaces": []
},
"floating": {
"inclusionDomains": [
"font",
"textures"
],
"exclusionDomains": [
],
"exclusionPaths": [
"packer-policy.json",
"local-config.json",
"README.md"
],
"inclusionPaths": [],
"characterReplacement": {
"\\[\\[钅卢\\]\\]": "\ud872\udf3b",
"\\[\\[钅杜\\]\\]": "\ud872\udf4a",
"\\[\\[钅喜\\]\\]": "\ud872\udf73",
"\\[\\[钅波\\]\\]": "\ud872\udf5b",
"\\[\\[钅黑\\]\\]": "\ud872\udf76",
"\\[\\[钅麦\\]\\]": "\u9fcf",
"\\[\\[钅达\\]\\]": "\ud86d\udffc",
"\\[\\[钅仑\\]\\]": "\ud872\udf2d",
"\\[\\[钅哥\\]\\]": "\u9fd4",
"\\[\\[钅尔\\]\\]": "\u9fed",
"\\[\\[钅夫\\]\\]": "\ud86d\udce7",
"\\[\\[钅立\\]\\]": "\ud86d\udff7",
"\\[\\[石田\\]\\]": "\u9fec",
"\\[\\[奥气\\]\\]": "\u9feb",
"\\[\\[气奥\\]\\]": "\u9feb",
"……": "\u22ef\u22ef",
"——": "\u2e3a"
},
"destinationReplacement": {}
}
}
44 changes: 44 additions & 0 deletions config/packer/1.21.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"base": {
"version": "1.21",
"targetLanguages": [
"zh_cn"
],
"exclusionMods": [],
"exclusionNamespaces": []
},
"floating": {
"inclusionDomains": [
"font",
"textures"
],
"exclusionDomains": [
],
"exclusionPaths": [
"packer-policy.json",
"local-config.json",
"README.md"
],
"inclusionPaths": [],
"characterReplacement": {
"\\[\\[钅卢\\]\\]": "\ud872\udf3b",
"\\[\\[钅杜\\]\\]": "\ud872\udf4a",
"\\[\\[钅喜\\]\\]": "\ud872\udf73",
"\\[\\[钅波\\]\\]": "\ud872\udf5b",
"\\[\\[钅黑\\]\\]": "\ud872\udf76",
"\\[\\[钅麦\\]\\]": "\u9fcf",
"\\[\\[钅达\\]\\]": "\ud86d\udffc",
"\\[\\[钅仑\\]\\]": "\ud872\udf2d",
"\\[\\[钅哥\\]\\]": "\u9fd4",
"\\[\\[钅尔\\]\\]": "\u9fed",
"\\[\\[钅夫\\]\\]": "\ud86d\udce7",
"\\[\\[钅立\\]\\]": "\ud86d\udff7",
"\\[\\[石田\\]\\]": "\u9fec",
"\\[\\[奥气\\]\\]": "\u9feb",
"\\[\\[气奥\\]\\]": "\u9feb",
"……": "\u22ef\u22ef",
"——": "\u2e3a"
},
"destinationReplacement": {}
}
}
Loading

0 comments on commit 3a8aa12

Please sign in to comment.