Skip to content

Commit 84b2549

Browse files
committed
Refactor: Codes, Configs, etc.
1 parent 66a5b3d commit 84b2549

25 files changed

Lines changed: 645 additions & 25 deletions

.github/workflows/packer.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ jobs:
102102
# 判断位置:该版本文件、该版本配置、代码
103103
paths: >
104104
.github/workflows/packer.yml
105-
projects/${{ matrix.version }}
105+
projects/assets/*/*/${{ matrix.version }}/**
106+
projects/templates/**
106107
config/packer/${{ matrix.version }}.json
107108
src/**
108109

.github/workflows/pr-packer.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ jobs:
8282
# 判断位置:action配置、该版本文件、该版本配置、代码
8383
paths: >
8484
.github/workflows/pr-packer.yml
85-
projects/${{ matrix.version }}/**
85+
projects/assets/*/*/${{ matrix.version }}/**
86+
projects/templates/**
8687
config/packer/${{ matrix.version }}.json
8788
src/**
8889
@@ -93,6 +94,7 @@ jobs:
9394
# 判断位置:action配置、该版本配置、代码
9495
paths: >
9596
.github/workflows/pr-packer.yml
97+
projects/templates/**
9698
config/packer/${{ matrix.version }}.json
9799
src/**
98100

Minecraft-Mod-Language-Package.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.30404.54
3+
# Visual Studio Version 18
4+
VisualStudioVersion = 18.4.11626.88
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Formatter", "src\Formatter\Formatter.csproj", "{26299ABD-B2FA-4F7E-87D8-B3546C90309B}"
77
EndProject

config/packer/1.12.2.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
"targetLanguages": [
55
"zh_cn"
66
],
7+
"mcMetaTemplate": "./projects/templates/pre_1_20_1_pack.mcmeta",
8+
"mcMetaParameters": [
9+
3, "1.12.2"
10+
],
11+
"readmeTemplate": "./projects/templates/1_12_2_README.txt",
12+
"readmeParameters": [],
713
"exclusionMods": [
814
"gregtechce",
915
"matteroverdrive-legacy"

config/packer/1.16-fabric.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
"targetLanguages": [
55
"zh_cn"
66
],
7+
"mcMetaTemplate": "./projects/templates/pre_1_20_1_pack.mcmeta",
8+
"mcMetaParameters": [
9+
6, "1.16(.5) Fabric"
10+
],
11+
"readmeTemplate": "./projects/templates/README.txt",
12+
"readmeParameters": [
13+
"1.16.5 Fabric"
14+
],
715
"exclusionMods": [],
816
"exclusionNamespaces": []
917
},

config/packer/1.16.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
"targetLanguages": [
55
"zh_cn"
66
],
7+
"mcMetaTemplate": "./projects/templates/pre_1_20_1_pack.mcmeta",
8+
"mcMetaParameters": [
9+
6, "1.16(.5) Forge"
10+
],
11+
"readmeTemplate": "./projects/templates/README.txt",
12+
"readmeParameters": [
13+
"1.16.5 Forge"
14+
],
715
"exclusionMods": [],
816
"exclusionNamespaces": []
917
},

config/packer/1.18-fabric.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
"targetLanguages": [
55
"zh_cn"
66
],
7+
"mcMetaTemplate": "./projects/templates/pre_1_20_1_pack.mcmeta",
8+
"mcMetaParameters": [
9+
8, "1.18 Fabric"
10+
],
11+
"readmeTemplate": "./projects/templates/README.txt",
12+
"readmeParameters": [
13+
"1.18.2 Fabric"
14+
],
715
"exclusionMods": [],
816
"exclusionNamespaces": [
917
"litematica"

config/packer/1.18.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
"targetLanguages": [
55
"zh_cn"
66
],
7+
"mcMetaTemplate": "./projects/templates/pre_1_20_1_pack.mcmeta",
8+
"mcMetaParameters": [
9+
8, "1.18 Forge"
10+
],
11+
"readmeTemplate": "./projects/templates/README.txt",
12+
"readmeParameters": [
13+
"1.18.2 Forge"
14+
],
715
"exclusionMods": [
816
"create"
917
],

config/packer/1.19.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
"targetLanguages": [
55
"zh_cn"
66
],
7+
"mcMetaTemplate": "./projects/templates/pre_1_20_1_pack.mcmeta",
8+
"mcMetaParameters": [
9+
13, "1.19.4"
10+
],
11+
"readmeTemplate": "./projects/templates/README.txt",
12+
"readmeParameters": [
13+
"1.19.4"
14+
],
715
"exclusionMods": [],
816
"exclusionNamespaces": [
917
"nochatreports",

config/packer/1.20-fabric.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
"targetLanguages": [
55
"zh_cn"
66
],
7+
"mcMetaTemplate": "./projects/templates/pre_1_20_1_pack.mcmeta",
8+
"mcMetaParameters": [
9+
15, "1.20.1 Fabric"
10+
],
11+
"readmeTemplate": "./projects/templates/README.txt",
12+
"readmeParameters": [
13+
"1.20.1 Fabric"
14+
],
715
"exclusionMods": [],
816
"exclusionNamespaces": [
917
"hexcasting"

0 commit comments

Comments
 (0)