Skip to content

Commit

Permalink
Fix #6
Browse files Browse the repository at this point in the history
  • Loading branch information
shedaniel committed May 9, 2022
1 parent 9686813 commit 8555175
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 15 deletions.
40 changes: 26 additions & 14 deletions generator.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"JAVA_8": "VERSION_1_8",
"JAVA_16": "VERSION_16",
"JAVA_17": "VERSION_17",
"MIXIN_FABRIC_BLOCK": "\n \"mixins\": [\n \"examplemod.mixins.json\",\n \"examplemod-common.mixins.json\"\n ],",
"MIXIN_QUILT_BLOCK": "\n \"mixin\": [\n \"examplemod.mixins.json\",\n \"examplemod-common.mixins.json\"\n ],",
"FABRIC_LOADER_PROP": "fabric_loader_version=",
"FABRIC_LOADER": {
"filter": ".*",
Expand Down Expand Up @@ -93,11 +95,12 @@
"templates/architectury",
"templates/architectury_fabric",
"templates/api_old",
"templates/mixin"
"templates/mixin",
"templates/mixin_fabric"
],
"inherit_tokens": ["1.16.5-forge-fabric"],
"tokens": {
"__MIXIN_FABRIC_BLOCK": "\n \"mixins\": [\n \"examplemod.mixins.json\",\n \"examplemod-common.mixins.json\"\n ],",
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_8",
"LOOM_FORGE_EXT": "loom {\n forge {\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\"\n }\n}\n"
}
Expand Down Expand Up @@ -169,11 +172,12 @@
"templates/architectury",
"templates/architectury_fabric",
"templates/api_new",
"templates/mixin"
"templates/mixin",
"templates/mixin_fabric"
],
"inherit_tokens": ["1.17.1-forge-fabric"],
"tokens": {
"__MIXIN_FABRIC_BLOCK": "\n \"mixins\": [\n \"examplemod.mixins.json\",\n \"examplemod-common.mixins.json\"\n ],",
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_16",
"LOOM_FORGE_EXT": "loom {\n forge {\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\"\n }\n}\n"
}
Expand Down Expand Up @@ -243,11 +247,12 @@
"templates": [
"templates/architectury",
"templates/api_new",
"templates/mixin"
"templates/mixin",
"templates/mixin_fabric"
],
"inherit_tokens": ["1.18.1-forge-fabric"],
"tokens": {
"__MIXIN_FABRIC_BLOCK": "\n \"mixins\": [\n \"examplemod.mixins.json\",\n \"examplemod-common.mixins.json\"\n ],",
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_16",
"LOOM_FORGE_EXT": "loom {\n forge {\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\"\n }\n}\n"
}
Expand Down Expand Up @@ -319,11 +324,12 @@
"templates/architectury",
"templates/architectury_fabric",
"templates/api_new",
"templates/mixin"
"templates/mixin",
"templates/mixin_fabric"
],
"inherit_tokens": ["1.18.2-forge-fabric"],
"tokens": {
"__MIXIN_FABRIC_BLOCK": "\n \"mixins\": [\n \"examplemod.mixins.json\",\n \"examplemod-common.mixins.json\"\n ],",
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_16",
"LOOM_FORGE_EXT": "loom {\n forge {\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\"\n }\n}\n"
}
Expand Down Expand Up @@ -358,11 +364,12 @@
"templates/architectury",
"templates/architectury_quilt",
"templates/api_new",
"templates/mixin"
"templates/mixin",
"templates/mixin_quilt"
],
"inherit_tokens": ["1.18.2-forge-quilt"],
"tokens": {
"__MIXIN_FABRIC_BLOCK": "\n \"mixins\": [\n \"examplemod.mixins.json\",\n \"examplemod-common.mixins.json\"\n ],",
"__MIXIN_QUILT_BLOCK": "#MIXIN_QUILT_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_16",
"LOOM_FORGE_EXT": "loom {\n forge {\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\"\n }\n}\n"
}
Expand Down Expand Up @@ -395,11 +402,13 @@
"templates/architectury_fabric",
"templates/architectury_quilt",
"templates/api_new",
"templates/mixin"
"templates/mixin",
"templates/mixin_fabric",
"templates/mixin_quilt"
],
"inherit_tokens": ["1.18.2-forge-fabric-quilt"],
"tokens": {
"__MIXIN_FABRIC_BLOCK": "\n \"mixins\": [\n \"examplemod.mixins.json\",\n \"examplemod-common.mixins.json\"\n ],",
"__MIXIN_QUILT_BLOCK": "#MIXIN_QUILT_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_16",
"LOOM_FORGE_EXT": "loom {\n forge {\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\"\n }\n}\n"
}
Expand Down Expand Up @@ -436,11 +445,14 @@
"templates/architectury_quilt",
"templates/architectury_fabric_like",
"templates/api_new",
"templates/mixin"
"templates/mixin",
"templates/mixin_fabric",
"templates/mixin_quilt"
],
"inherit_tokens": ["1.18.2-forge-fabric-like"],
"tokens": {
"__MIXIN_FABRIC_BLOCK": "\n \"mixins\": [\n \"examplemod.mixins.json\",\n \"examplemod-common.mixins.json\"\n ],",
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"__MIXIN_QUILT_BLOCK": "#MIXIN_QUILT_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_16",
"LOOM_FORGE_EXT": "loom {\n forge {\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\"\n }\n}\n"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"schema_version": 1,@__MIXIN_FABRIC_BLOCK@
"schema_version": 1,@__MIXIN_QUILT_BLOCK@
"quilt_loader": {
"group": "${group}",
"id": "examplemod",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"required": true,
"package": "net.examplemod.mixin.fabric",
"compatibilityLevel": "@MIXIN_COMPAT_LEVEL@",
"client": [
],
"mixins": [
],
"injectors": {
"defaultRequire": 1
}
}

0 comments on commit 8555175

Please sign in to comment.