Migrate away from deprecated fabric-api modules

This commit is contained in:
Jonas Herzig
2022-05-24 10:44:30 +02:00
parent f595d9ca23
commit 9f8957f468
6 changed files with 147 additions and 7 deletions

View File

@@ -279,9 +279,11 @@ dependencies {
"resource-loader-v0",
]
if (mcVersion >= 11600) {
fabricApiModules.remove("keybindings-v0")
fabricApiModules.add("key-binding-api-v1")
}
if (mcVersion >= 11700) {
fabricApiModules.remove("networking-v0")
fabricApiModules.add("networking-api-v1")
}
fabricApiModules.each { module ->