/
ControlCommands is a client-side Minecraft Fabric mod that adds commands for vanilla player controls and keybind actions.
The mod lets you trigger many actions that are normally controlled with your keyboard or mouse directly through Minecraft commands. Any input entered via the command is executed continuously until you enter /stop (action). This includes movement, interaction, combat, inventory actions, camera controls, debug actions, hotbar selection, menus, and more. every
The idea is simple:
Turn player controls into commands.
/walk-forward
/walk-backward
/walk-left
/walk-right
/jump
/sneak
/sprint
/hit
/mine
/use
/interact
/inventory
/drop-item
/swap-hands
/select-slot-1
/toggle-perspective
/take-screenshot
Movement Commands
ControlCommands adds command access to common movement controls.
/walk-forward
/walk-backward
/walk-left
/walk-right
/jump
/sneak
/sprint
/swim-up
/swim-down
/fly-up
/fly-down
/dismount
These commands are useful when movement should be triggered without pressing the actual movement keys.
Action Commands
Trigger common gameplay actions through commands.
/hit
/attack
/mine
/destroy
/use
/place
/interact
/pick-block
These commands can be used to simulate actions normally controlled by mouse buttons or keybinds.
Looking and Hotbar Commands
The mod also includes commands for looking around and controlling the hotbar.
/look-up
/look-down
/look-left
/look-right
/scroll-hotbar-left
/scroll-hotbar-right
/select-slot-1
/select-slot-2
/select-slot-3
/select-slot-4
/select-slot-5
/select-slot-6
/select-slot-7
/select-slot-8
/select-slot-9
Inventory and Item Commands
Control inventory and item-related actions.
/inventory
/drop-item
/drop-stack
/swap-hands
These commands make it possible to open the inventory, drop items, drop stacks, or swap hands using commands.
Chat and Menu Commands
ControlCommands includes commands for chat, menus, and interface actions.
/chat
/command-chat
/player-list
/autocomplete
/social-interactions
/game-menu
/pause-menu
/close-menu
/advancements
/statistics
/recipe-book
Camera and Visual Commands
Control camera and visual options through commands.
/toggle-perspective
/toggle-hud
/take-screenshot
/toggle-cinematic-camera
/toggle-fullscreen
Debug Commands
The mod also adds command access to several debug-related keybinds.
/debug-screen
/reload-chunks
/show-hitboxes
/copy-location
/toggle-advanced-tooltips
/toggle-chunk-borders
/toggle-debug-pie
/clear-chat
/reload-resources
Extra Commands
Additional supported actions include:
/narrator
/toggle-narrator
/toggle-spectator-menu
/highlight-players
/open-emote-menu
Stopping Hold Actions
Some actions behave like held keys, for example walking, sneaking, sprinting, mining, or using an item.
You can stop a running action with:
/stop <action>
Example:
/stop walk-forward
/stop mine
/stop use
Use Cases
ControlCommands can be useful for:
Accessibility setups
Voice control systems
Custom input systems
Testing and debugging
Command-based automation
Modpacks
Client-side tools
Map-making experiments
Creative workflows
Client-Side Mod
ControlCommands is a client-side mod.
It is designed to trigger client controls locally. Some commands may depend on the current player state, selected item, screen, target block, or game mode.
For example:
/mine works best when looking at a mineable block
/use depends on the selected item or target
/fly-up and /fly-down only make sense when flying is available
Debug and menu commands depend on Minecraft’s current screen and context
Requirements
Minecraft 1.21.11
Fabric Loader
Fabric API
Java 21
