Explorar o código

Include dependency definitions for Forge and Minecraft in mods.toml and specify side

Griefed %!s(int64=3) %!d(string=hai) anos
pai
achega
f3e91b225b
Modificáronse 1 ficheiros con 13 adicións e 1 borrados
  1. 13 1
      src/main/resources/META-INF/mods.toml

+ 13 - 1
src/main/resources/META-INF/mods.toml

@@ -13,4 +13,16 @@ authors="Jaredlll08"
 description='''
 Adds the ability to search for keybinds using their name in the KeyBinding menu, this allows players to easily find a key binding in the menu.
 '''
-itemIcon="minecraft:compass"
+itemIcon="minecraft:compass"
+  [[dependencies.controlling]]
+    modId="forge"
+    mandatory=true
+    versionRange="[34,)"
+    ordering="NONE"
+    side="CLIENT"
+  [[dependencies.controlling]]
+    modId="minecraft"
+    mandatory=true
+    versionRange="[1.16.3,)"
+    ordering="NONE"
+    side="CLIENT"