Use fabwork for networking and to prevent joining servers without the mod installed

This commit is contained in:
Sollace 2022-12-29 22:23:49 +01:00
parent f4ce69a0c1
commit 59dc4d53b9
3 changed files with 11 additions and 1 deletions

View file

@ -61,6 +61,12 @@ dependencies {
modApi "com.jamieswhiteshirt:reach-entity-attributes:${project.reach_attributes_version}"
include "com.jamieswhiteshirt:reach-entity-attributes:${project.reach_attributes_version}"
// provides networking and mod handshaking.
// https://github.com/Sollace/Fabwork
// > gradlew build publishToMavenLocal
modApi "com.sollace:fabwork:${project.fabwork_version}"
include "com.sollace:fabwork:${project.fabwork_version}"
modCompileOnly "com.terraformersmc:modmenu:${project.modmenu_version}"
modCompileOnly "dev.emi:trinkets:${project.trinkets_version}"
}

View file

@ -20,6 +20,7 @@ org.gradle.daemon=false
modrinth_project_id=
# Dependencies
fabwork_version=1.0.1
modmenu_version=5.0.0-alpha.3
minelp_version=4.7.2
kirin_version=1.13.2

View file

@ -41,6 +41,9 @@
"modmenu": "*"
},
"custom": {
"fabwork": {
"requiredOn": "*"
},
"modmenu": {
"links": {
"modmenu.discord": "https://discord.gg/zKSZ8Mg"