Pārlūkot izejas kodu

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

Griefed 3 gadi atpakaļ
vecāks
revīzija
f3e91b225b
1 mainītis faili ar 13 papildinājumiem un 1 dzēšanām
  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"