List of Resources
See MKB through human eyesFilter by Category:
All Calculations Control Flow Equipped Armor Equipped Tool GUI Input Looking at Mod related Player Position Server Settings Time and Date Variables WorldFiltros ativos: Categoria: "GUI" Tipo: "Action"
ACHIEVEMENTGET
ActionDisplays 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: GUICLEARCHAT
ActionClears all messages from the chat window
Category: GUICLEARCRAFTING
ActionCancels any queued crafting jobs
Category: GUICRAFT
ActionQueues an auto-crafting request
Category: GUICRAFTANDWAIT
ActionQueues an auto-crafting request and waits for it to complete
Category: GUIGETSLOT
ActionGets the id of the slot containing an item matching the specified item id Returns the slot number
Category: GUIGETSLOTITEM
ActionGets information about the item in the specified slot Returns the item name
Category: GUIGUI
ActionOpens 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: GUIINVENTORYDOWN
ActionScrolls the specified number of slots down through the hotbar
Category: GUIINVENTORYUP
ActionScrolls the specified number of slots up through the hotbar
Category: GUIPICK
ActionSelects 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: GUIPOPUPMESSAGE
ActionDisplay 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: GUISETSLOTITEM
ActionCreative mode only, set the contents of a hot bar slot
Category: GUISLOT
ActionSelects the specified slot on the hot bar
Category: GUISLOTCLICK
ActionSimulates 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: GUITITLE
ActionDisplays the specified custom title, call with no arguments to hide current titles
Category: GUITOAST
ActionDisplays 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