Editor & Input
Last updated
Sheets provides interactive ways to edit and interact with menus.
Chest Edit Mode allows you to visually edit your menus in-game.
Alternatively, open the edit menu with /sheets edit and right-click on the sheet you want to edit.
Once in Chest Edit Mode, you can drag and drop items from your inventory into the menu or rearrange existing items.
Closing the inventory will automatically save the new layout to the menu's YAML file as buttons.
Each item in the menu will be saved with its material, name, and lore.
Anvil menus can be used to capture text input from players.
Define an input action in your YAML:
actions:
- input:
title: "Enter text"
command: "say you entered {text}"If you specify a title in the input action that doesn't correspond to a pre-defined menu, Sheets will dynamically create an Anvil menu with that title.
Anvil menus refresh every second (20 ticks), allowing placeholders like {text} to update in item names and lore as the player types.
Slot 2 in an Anvil menu is typically used as the confirmation button. The action defined in the input command will be executed when this button is clicked.
Last updated