Hex on command
by hauveli
Hex on command lets a chat or datapack command cast a Hexcasting spell, gated by a permission node.
What it does
A single command, hexcastinggui, lets a player cast a spell through chat, and it only works for the player who runs it. Casting is controlled by the hexoncommand:command_permission setting, which is set to 1 by default. An optional configuration value can allow the command to run without the attributes it normally needs. The mod is intended for use in datapacks alongside a single attribute, hexoncommand:command, and a datapack for the Origins mod ships a simple example origin. Files exist for Fabric only, for 1.20.1, with 1.0.0 as the latest build, and the mod is released under the MIT License as open source. It is listed as a Client and server mod, so the server and every player need it.
An addon for the Hexcasting mod is noted by the author, and players who want more options are pointed to Teekas, a related addon.
Key features
Chat casting command
The hexcastinggui command casts a spell from chat, limited to the player who runs it.
Permission control
A permission node, hexoncommand:command_permission, governs who may cast, with a default value of 1.
Datapack attribute
A single attribute, hexoncommand:command, is provided for use in datapacks.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Questions
Does Hex on command need Hexcasting to work?
Does the server need Hex on command?
In the catalog
Hex on command is one of 7,216 Magic mods on ModsFinder, and one of 3,630 Magic mods for Fabric. 34,764 mods support Minecraft 1.20.1.
More from hauveli
Similar mods
What the author says
Adds a single command intended for use in datapacks alongside one attribute hexoncommand:command_permission A datapack exists for use with the Origins mod, adding a simple example origin to show users how this mod may be used effectively.
Official listing
- Modrinth page
- modrinth.com/mod/hexoncommand
- Owner
- hauveli
- Published
- 2026-03-15
- Updated on Modrinth
- 2026-03-15
- Facts verified
- 2026-10-15
