Fork from https://github.com/joseph-garcia/command-gui-buttons
Command GUI Buttons is a fabric mod for Minecraft that allows users to create custom command buttons on their clients. Users can bring up this menu in-game with the G key, type in the Name and Command they want to create a button for, and press the + to create. It will then show up as a button on their screen to use whenever they want, as the button will automatically execute the command or send chat message they initially entered.
Create buttons for preset chat messages, commands like /warp home, or anything else that goes in the chat box.
- Unlimited number of buttons
- Multiple commands or chat messages in one button
- Custom order execute commands or send messages
- Search for buttons (Case sensitive)
- Bring up the menu in-game with the
Gkey - Type in the Name and Command you want to save into a button
- Press the
+button
The list of commands are serialized into a JSON format and stored locally on the users’ systems. The mod writes any new commands into the JSON as new buttons are created, and loads the JSON at the start of the game. A local list instance exists for reading and loading the buttons each time, so that file reading is kept to a minimum.
We are using the Mojang official mappings to de-obfuscate Minecraft and insert patches.
- [] Use the
preprocessto support low Minecraft versions


