Explorar el Código

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

Griefed hace 3 años
padre
commit
f3e91b225b
Se han modificado 1 ficheros con 13 adiciones y 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"