List of Resources

See MKB through human eyes
Filter by Type:
All Action Event Iterator Parameter REPL Command Variable
Filter by Category:
All Calculations Control Flow Equipped Armor Equipped Tool GUI Input Looking at Mod related Player Position Server Settings Time and Date Variables World

Filtros ativos: Categoria: "GUI" Tipo: "Action"

ACHIEVEMENTGET
Action

Displays an "Advancement made!" popup you get when completing an advancement with a custom message and optionally a custom item. The successor is [TOAST](/docs/actions/toast) with the option to create other types of popups.

Category: GUI
CLEARCHAT
Action

Clears all messages from the chat window

Category: GUI
CLEARCRAFTING
Action

Cancels any queued crafting jobs

Category: GUI
CRAFT
Action

Queues an auto-crafting request

Category: GUI
CRAFTANDWAIT
Action

Queues an auto-crafting request and waits for it to complete

Category: GUI
GETSLOT
Action

Gets the id of the slot containing an item matching the specified item id Returns the slot number

Category: GUI
GETSLOTITEM
Action

Gets information about the item in the specified slot Returns the item name

Category: GUI
GUI
Action

Opens the specified gui screen. If no `[name]` is specified it will close the currently open gui. Possible values: * `"chat"` * `"filterablechat"` * `"menu"` * `"inventory"` * `"options"` * `"video"` * `"controls"` * `"macrobind"` * `"macroplayback"` * `"macroconfig"` * `"texteditor"` * `"repl"`

Category: GUI
INVENTORYDOWN
Action

Scrolls the specified number of slots down through the hotbar

Category: GUI
INVENTORYUP
Action

Scrolls the specified number of slots up through the hotbar

Category: GUI
PICK
Action

Selects the specified item id if it is on the hotbar, specify multiple items to pick in order of preference. Returns the selected item name.

Category: GUI
POPUPMESSAGE
Action

Display a message in the area above the hotbar The `<message>` can contain color codes. If `[animate]` is set to true the message will animate through different colors

Category: GUI
SETSLOTITEM
Action

Creative mode only, set the contents of a hot bar slot

Category: GUI
SLOT
Action

Selects the specified slot on the hot bar

Category: GUI
SLOTCLICK
Action

Simulates clicking on the specified slot in the current GUI `<slot>` can be `-999` to drop the previously selected item. `[button]` can be either `"left"` for left-click or `"right"` for right-click `[shift]` should be `true` if you want to shift-click

Category: GUI
TITLE
Action

Displays the specified custom title, call with no arguments to hide current titles

Category: GUI
TOAST
Action

Displays an user-defined toast. The following toasts are possible: * __Advancement Toast__ ("Advancement made!") * `[type]` should be `"advancement"` * `[icon]` can be any item name * `[text1]` will be displayed * __Challenge Toast__ ("Challenge complete!") * `[type]` should be `"challenge"` * `[icon]` can be any item name * `[text1]` will be displayed * __Goal Toast__ ("Goal reached!") * `[type]` should be `"goal"` * `[icon]` can be any item name * `[text1]` will be displayed * __Recipe Toast__ ("New Recipes Unlocked!") * `[type]` should be `"recipe"` * `[icon]` can be any item name * No text will be displayed * __Tutorial Toast__ * `[type]` should be `"tutorial"` * `[icon]` can be one of the following values * `"keys"` * `"mouse"` * `"tree"` * `"recipe_block"` * `"planks"` * `[text1]` and `[text2]` will be displayed * `[ticks]` specifies how long the toast will be displayed * __System Hint Toast__ * `[type]` should be `"hint"` * `[icon]` should be empty * `[text1]` and `[text2]` will be displayed * __System Narrator Toast__ * `[type]` should be `"narrator"` * `[icon]` should be empty * `[text1]` and `[text2]` will be displayed * __Remove user-defined tutorial toasts__ * `[type]` should be `"clear"` * if `[icon]` is `"all"` vanilla toast will also be removed

Category: GUI