Reeyan Malik

Create a Minecraft Java Edition client-side Fabric mod for Minecraft version 1.21.11.

Mod name: Ctrl Quick Move.

Purpose: Allow me to transfer items between my inventory and chests using Ctrl + Left Click instead of Shift + Left Click.

Requirements:

  • Ctrl + Left Click must perform the exact same quick-move action as Shift + Left Click.
  • Keep all existing keybinds unchanged.
  • Preserve normal Shift-click behavior.
  • Add a configurable modifier key in the Controls settings if possible.
  • Must work on the client without requiring server installation.
  • Target Minecraft 1.21.11 and a compatible Fabric Loader.
  • Compile and provide the finished, working .jar file, along with the source code.
  • Test the build and fix compilation errors before providing the download.
Kodari AI
KodariOct 11 at 9:32 am 1
CtrlQuickMove
Client-side Fabric mod for Minecraft 1.21.11 that remaps Ctrl+Left Click to perform the same quick-move action as Shift+Left Click when transferring items between inventories and chests. Preserves all default keybinds and Shift-click behavior. Adds a configurable modifier key option in the Controls settings. Works entirely client-side without server installation, using Fabric API's keybinding and screen event hooks to intercept click interactions and trigger the vanilla quick-move logic.
  1. Set up the Fabric 1.21.11 client mod and register a rebindable Ctrl modifier in Controls.

  2. Intercept only the Ctrl+left-click path so it uses vanilla quick-move, while leaving ordinary clicks and Shift-clicks intact.

  3. Add the required mod metadata and assets; this environment builds the project, but I can’t attach a compiled JAR directly.

Created Ctrl Quick Move for Fabric 1.21.11. Ctrl+left-click on an inventory slot uses vanilla quick-move; Shift-click and other clicks are unchanged. The modifier defaults to Left Ctrl and can be rebound in Controls → Ctrl Quick Move. It runs client-side and does not require installing the mod on the server.

The project includes the source code and Fabric build configuration. To get the JAR:

  1. Click Compile in the top bar (on phone: ⋮ → Compile Project).

  2. Click Compile in the window that opens.

  3. When it succeeds, click Download on the build or Download ctrl-quick-move.jar in chat.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
8 153
src/client/java/com/kodari/ctrlquickmove/CtrlQuickMoveClient.java
package com.kodari.ctrlquickmove;

import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper;
import net.minecraft.client.option.KeyBinding;
import net.minecraft.util.Identifier;
import org.lwjgl.glfw.GLFW;

public final class CtrlQuickMoveClient implements ClientModInitializer {
    public static KeyBinding QUICK_MOVE_MODIFIER;

    @Override
    public void onInitializeClient() {
        QUICK_MOVE_MODIFIER = KeyBindingHelper.registerKeyBinding(new KeyBinding(
                "key.ctrlquickmove.modifier",
                GLFW.GLFW_KEY_LEFT_CONTROL,
                KeyBinding.Category.create(Identifier.of("ctrlquickmove", "controls"))
        ));
    }
}