Commands Menu
This datapack adds a radial menu to Minecraft that appears around the player and allows executing any commands.
Creating Command Menu
To start working with the menu, you need to obtain a special item:
loot give @s loot menu:menu
You can also convert any item into a command menu by applying a modifier to the desired slot:
item modify entity @s <slot> menu:menu/create
Menu Configuration
Place items in a container (chest, barrel, shulker box) - they will become elements of the radial menu. Central slots will be positioned in front of the player, while side slots will be behind.
Ready-Made Menu Elements
Use ready-made elements or create your own. To get ready-made elements, execute:
loot give @s loot menu:tile/<tile>
Dynamic Elements
Ender Chest Viewer
Displays the contents of the owner's ender chest. Capabilities:
- Right click - copy 1 item from the slot
- Shift + Right click - copy all items from the slot
- Left click - take 1 item from the slot
- Shift + Left click - take all items from the slot
loot give @s loot menu:tile/dynamic/ender_chest
Item Kit
Gives the player all items from a red shulker box. Automatically takes the appearance of the last item in the box.
loot give @s loot menu:tile/dynamic/kit
Multi-Element
Allows using 4 static elements with different interaction methods:
- Right click - execute first command
- Shift + Right click - execute second command
- Left click - execute third command
- Shift + Left click - execute fourth command
loot give @s loot menu:tile/dynamic/multi
Menu Pinning
Allows pinning the current menu to a specific location:
- Right click - hide menu
- Shift + Right click - flat mode
- Left click - return menu to player
- Shift + Left click - hide pin
loot give @s loot menu:tile/dynamic/pin_menu
Switcher
Executes a command and automatically switches to the next element:
- Right click - execute command and move to next
- Shift + Right click - execute command and move to previous
- Left click - skip current element and move to next
- Shift + Left click - skip current element and move to previous
loot give @s loot menu:tile/dynamic/switcher
Teleportation Point
Teleports the player to a saved coordinate:
- Right click - create point/teleport
- Shift + Right click - delete current point
loot give @s loot menu:tile/dynamic/waypoint
Static Elements
Inventory Clear
loot give @s loot menu:tile/static/clear/all - clear entire inventory
loot give @s loot menu:tile/static/clear/armor - clear only armor
loot give @s loot menu:tile/static/clear/hotbar - clear hotbar and offhand
loot give @s loot menu:tile/static/clear/inventory - clear main inventory
Dimensions
loot give @s loot menu:tile/static/dimension/overworld - teleport to Overworld
loot give @s loot menu:tile/static/dimension/the_nether - teleport to Nether
loot give @s loot menu:tile/static/dimension/the_end - teleport to End
Effects
loot give @s loot menu:tile/static/effects/clear - remove all effects
loot give @s loot menu:tile/static/effects/feed - restore saturation
loot give @s loot menu:tile/static/effects/full - clear effects, restore saturation and health
loot give @s loot menu:tile/static/effects/heal - restore health
loot give @s loot menu:tile/static/effects/hunger - decrease saturation
Game Modes
loot give @s loot menu:tile/static/gamemode/adventure - adventure mode
loot give @s loot menu:tile/static/gamemode/creative - creative mode
loot give @s loot menu:tile/static/gamemode/spectator - spectator mode
loot give @s loot menu:tile/static/gamemode/survival - survival mode
Time
loot give @s loot menu:tile/static/time/day - set day
loot give @s loot menu:tile/static/time/noon - set noon
loot give @s loot menu:tile/static/time/night - set night
loot give @s loot menu:tile/static/time/midnight - set midnight
loot give @s loot menu:tile/static/time/sync - synchronize time
loot give @s loot menu:tile/static/time/toggle_cycle - toggle day-night cycle
Invisibility
loot give @s loot menu:tile/static/vanish/on - enable invisibility
loot give @s loot menu:tile/static/vanish/off - disable invisibility
Weather
loot give @s loot menu:tile/static/weather/clear - clear weather
loot give @s loot menu:tile/static/weather/rain - rain
loot give @s loot menu:tile/static/weather/thunder - thunderstorm
loot give @s loot menu:tile/static/weather/toggle_cycle - toggle weather cycle





