Skip to content

Commit

Permalink
Fix whitespace for non-mixin templates (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
florensie authored Aug 7, 2022
1 parent 0b81dcf commit 5f67eb1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
22 changes: 11 additions & 11 deletions generator.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"tokens": {
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_8",
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
"__LOOM_FORGE_EXT": "\n\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.17.1-forge": {
Expand Down Expand Up @@ -177,7 +177,7 @@
"tokens": {
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_16",
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
"__LOOM_FORGE_EXT": "\n\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.18.1-forge": {
Expand Down Expand Up @@ -251,7 +251,7 @@
"tokens": {
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_17",
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
"__LOOM_FORGE_EXT": "\n\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.18.2-forge": {
Expand Down Expand Up @@ -327,7 +327,7 @@
"tokens": {
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_17",
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
"__LOOM_FORGE_EXT": "\n\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.18.2-forge-quilt": {
Expand Down Expand Up @@ -367,7 +367,7 @@
"tokens": {
"__MIXIN_QUILT_BLOCK": "#MIXIN_QUILT_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_17",
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
"__LOOM_FORGE_EXT": "\n\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.18.2-forge-fabric-quilt": {
Expand Down Expand Up @@ -406,7 +406,7 @@
"tokens": {
"__MIXIN_QUILT_BLOCK": "#MIXIN_QUILT_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_17",
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
"__LOOM_FORGE_EXT": "\n\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.18.2-forge-fabric-like": {
Expand Down Expand Up @@ -450,7 +450,7 @@
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"__MIXIN_QUILT_BLOCK": "#MIXIN_QUILT_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_17",
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
"__LOOM_FORGE_EXT": "\n\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.19-forge": {
Expand Down Expand Up @@ -526,7 +526,7 @@
"tokens": {
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_17",
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
"__LOOM_FORGE_EXT": "\n\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.19-forge-quilt": {
Expand Down Expand Up @@ -566,7 +566,7 @@
"tokens": {
"__MIXIN_QUILT_BLOCK": "#MIXIN_QUILT_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_17",
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
"__LOOM_FORGE_EXT": "\n\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.19-forge-fabric-quilt": {
Expand Down Expand Up @@ -605,7 +605,7 @@
"tokens": {
"__MIXIN_QUILT_BLOCK": "#MIXIN_QUILT_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_17",
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
"__LOOM_FORGE_EXT": "\n\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
},
"1.19-forge-fabric-like": {
Expand Down Expand Up @@ -649,7 +649,7 @@
"__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK",
"__MIXIN_QUILT_BLOCK": "#MIXIN_QUILT_BLOCK",
"MIXIN_COMPAT_LEVEL": "JAVA_17",
"__LOOM_FORGE_EXT": "mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
"__LOOM_FORGE_EXT": "\n\n mixinConfig \"examplemod-common.mixins.json\"\n mixinConfig \"examplemod.mixins.json\""
}
}
}
Expand Down
4 changes: 1 addition & 3 deletions templates/architectury/forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ loom {

forge {
convertAccessWideners = true
extraAccessWideners.add loom.accessWidenerPath.get().asFile.name

@__LOOM_FORGE_EXT@
extraAccessWideners.add loom.accessWidenerPath.get().asFile.name@__LOOM_FORGE_EXT@
}
}

Expand Down

0 comments on commit 5f67eb1

Please sign in to comment.