REI Custom Command - Command Personalization in REI
This mod provides a convenient way to save frequently used commands as bookmarks directly in the REI interface, significantly speeding up gameplay.
To create a new bookmark, simply enter the command in the REI search bar (starting with the "/" symbol and separating commands with the same symbol), then press Enter. If you want to assign a custom name to the bookmark, just add text before the first "/" when creating it. For text formatting, you can use the "$" symbol.
Advanced Features
The mod supports text component parsing, allowing you to apply hexadecimal colors and localizable text. Usage example:
{text:HELLO,color:"#FFAA00"}/say hello
You can also set an item as an icon for the command:
{item:"minecraft:apple"}/say hello
Or specify tags for the item:
{item:{id:potion,tag:{Potion:regeneration}}}/say hello
A small indicator is displayed on the command icon. To hide it, hold the CTRL key.
When creating a custom command, use the CTRL+Enter combination to keep the content in the search bar for further editing.
New Features in Version 1.20.1+: Multiple Commands
Now you can add multiple commands by separating them with the "/" symbol. Use "\" for escaping:
/tellraw @a "Information about \"REICC\":" /say Download available from CurseForge\/Modrinth