From e9aec890af87ea411f81f0380a11a9930309922f Mon Sep 17 00:00:00 2001 From: Erlend <49862976+Erb3@users.noreply.github.com> Date: Mon, 7 Aug 2023 18:04:36 +0200 Subject: [PATCH] feat: Find the modrinth page in modmenu --- gradle.properties | 8 ++++---- src/main/resources/assets/cactusfix/lang/en_us.json | 5 +++-- src/main/resources/fabric.mod.json | 12 +++++++++++- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/gradle.properties b/gradle.properties index 99f56b8..e60e9af 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,9 +1,9 @@ org.gradle.jvmargs=-Xmx3G # check these on https://fabricmc.net/develop/ -minecraft_version=1.20.1 -yarn_version=1.20.1+build.9 +minecraft_version=1.20 +yarn_version=1.20+build.1 loader_version=0.14.21 -mod_version=1.2.0 -fabric_api_version=0.84.0+1.20.1 +mod_version=1.2.1 +fabric_api_version=0.83.0+1.20 maven_group=github.erb3.fabric archives_base_name=cactusfix diff --git a/src/main/resources/assets/cactusfix/lang/en_us.json b/src/main/resources/assets/cactusfix/lang/en_us.json index c155ca5..a3f003f 100644 --- a/src/main/resources/assets/cactusfix/lang/en_us.json +++ b/src/main/resources/assets/cactusfix/lang/en_us.json @@ -1,5 +1,6 @@ { - "gamerule.shouldCactusDamageItems": "Cactus should despawn items", "gamerule.allowFreerCactusPlacing": "Cactus should have freer placing", - "gamerule.shouldCactusDamagePlayers": "Cactus should hurt players" + "gamerule.shouldCactusDamageItems": "Cactus should despawn items", + "gamerule.shouldCactusDamagePlayers": "Cactus should hurt players", + "cactusfix.modrinth": "Modrinth page" } diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index fb28d55..1fc850e 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -28,8 +28,18 @@ ], "depends": { "fabricloader": ">=${loader_version}", - "minecraft": "${minecraft_version}", + "minecraft": "~${minecraft_version}", "fabric-api": "*", "java": ">=17" + }, + "suggests": { + "modmenu": "*" + }, + "custom": { + "modmenu": { + "links": { + "cactusfix.modrinth": "https://modrinth.com/mod/cactusfix" + } + } } }