Port to MC 1.20

This commit is contained in:
Jonas Herzig
2023-06-12 09:39:48 +02:00
parent 96a05e256f
commit 7726550131
14 changed files with 90 additions and 11 deletions

View File

@@ -252,6 +252,7 @@ dependencies {
11902: '1.19.2',
11903: '1.19.3-rc3',
11904: '1.19.4',
12000: '1.20',
][mcVersion]
mappings 'net.fabricmc:yarn:' + [
11404: '1.14.4+build.16',
@@ -268,6 +269,7 @@ dependencies {
11902: '1.19.2+build.28:v2',
11903: '1.19.3-rc3+build.1:v2',
11904: '1.19.4+build.1:v2',
12000: '1.20+build.1:v2',
][mcVersion]
modImplementation 'net.fabricmc:fabric-loader:0.14.11'
def fabricApiVersion = [
@@ -285,6 +287,7 @@ dependencies {
11902: '0.68.0+1.19.2',
11903: '0.68.1+1.19.3',
11904: '0.76.0+1.19.4',
12000: '0.83.0+1.20',
][mcVersion]
def fabricApiModules = [
"api-base",
@@ -365,7 +368,7 @@ dependencies {
shadow 'com.github.ReplayMod.JavaBlend:2.79.0:a0696f8'
shadow "com.github.ReplayMod:ReplayStudio:d3f8506", shadeExclusions
shadow "com.github.ReplayMod:ReplayStudio:a1e2b83", shadeExclusions
// FIXME this should be pulled in by ReplayStudio, and IntelliJ sees it, but javac for some reason does not
implementation 'com.github.viaversion:opennbt:0a02214' // 2.0-SNAPSHOT (ViaVersion Edition)
@@ -376,7 +379,9 @@ dependencies {
shadow 'com.github.ReplayMod:lwjgl-utils:27dcd66'
if (FABRIC) {
if (mcVersion >= 11904) {
if (mcVersion >= 12000) {
modImplementation 'com.terraformersmc:modmenu:7.0.1'
} else if (mcVersion >= 11904) {
modImplementation 'com.terraformersmc:modmenu:6.1.0-rc.4'
} else if (mcVersion >= 11903) {
modImplementation 'com.terraformersmc:modmenu:5.0.0-alpha.4'