Port to MC 1.18.2 (closes #697)

This commit is contained in:
Jonas Herzig
2022-03-06 12:33:13 +01:00
parent 1fa027f362
commit 4aa667fe04
12 changed files with 60 additions and 8 deletions

View File

@@ -245,6 +245,7 @@ dependencies {
11701: '1.17.1',
11800: '1.18',
11801: '1.18.1',
11802: '1.18.2',
][mcVersion]
mappings 'net.fabricmc:yarn:' + [
11404: '1.14.4+build.16',
@@ -256,6 +257,7 @@ dependencies {
11701: '1.17.1+build.29:v2',
11800: '1.18+build.1:v2',
11801: '1.18.1+build.1:v2',
11802: '1.18.2+build.1:v2',
][mcVersion]
modImplementation 'net.fabricmc:fabric-loader:0.12.5'
def fabricApiVersion = [
@@ -268,6 +270,7 @@ dependencies {
11701: '0.37.1+1.17',
11800: '0.43.1+1.18',
11801: '0.43.1+1.18',
11802: '0.47.9+1.18.2',
][mcVersion]
def fabricApiModules = [
"api-base",
@@ -338,7 +341,7 @@ dependencies {
shadow 'com.github.ReplayMod.JavaBlend:2.79.0:a0696f8'
shadow "com.github.ReplayMod:ReplayStudio:6d081f6", shadeExclusions
shadow "com.github.ReplayMod:ReplayStudio:b5539d1", shadeExclusions
implementation(FABRIC ? dependencies.project(path: jGui.path, configuration: "namedElements") : jGui) {
transitive = false // FG 1.2 puts all MC deps into the compile configuration and we don't want to shade those
@@ -346,7 +349,9 @@ dependencies {
shadow 'com.github.ReplayMod:lwjgl-utils:27dcd66'
if (FABRIC) {
if (mcVersion >= 11800) {
if (mcVersion >= 11802) {
modImplementation 'com.terraformersmc:modmenu:3.1.0'
} else if (mcVersion >= 11800) {
modImplementation 'com.terraformersmc:modmenu:3.0.0'
} else if (mcVersion >= 11700) {
modImplementation 'com.terraformersmc:modmenu:2.0.0-beta.7'