Add slot locking

This commit is contained in:
nea
2023-05-18 03:20:22 +02:00
parent 3ebe3e80b9
commit 1dd603ab1c
19 changed files with 297 additions and 14 deletions

View File

@@ -0,0 +1,17 @@
package moe.nea.firmament.keybindings
import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper
import org.lwjgl.glfw.GLFW
import net.minecraft.client.option.KeyBinding
import net.minecraft.client.util.InputUtil
object FirmamentKeyBindings {
val SLOT_LOCKING = KeyBindingHelper.registerKeyBinding(
KeyBinding(
"firmament.key.slotlocking",
InputUtil.Type.KEYSYM,
GLFW.GLFW_KEY_L,
"firmament.key.category"
)
)
}