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 WorldOXYGEN
VariableAir Level (from 0 to 300)
Category: PlayerPASS
ActionIndicate that this chat message should PASS the filter and terminate
Category: Mod relatedPICK
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: GUIPICKUPAMOUNT
VariableAmount of items picked up
Category: N/APICKUPDATA
VariableMetadata of the picked up item.
Category: N/APICKUPID
VariableItem id of the picked up item.
Category: N/APICKUPITEM
VariableDisplay name of the picked up item.
Category: N/APITCH
VariablePitch of the player
Category: PositionPLACESIGN
ActionPlaces a sign in the world with the specified text (if you have one) - `[line1]` to `[line4]` specifies the content for each sign line - `[showgui]` should be `true` if you want to continue editing the text
Category: WorldPLAYER
VariablePlayer's name
Category: PlayerPLAYERNAME
VariableThe current player
Category: N/Aplayers
IteratorIterates over online players on your server
Category: N/APLAYERVOLUME
VariableVolume level for Players
Category: SettingsPLAYSOUND
ActionPlays the specified sound. If the `<sound>` starts with `"custom."` it looks inside an folder `sounds` inside the macros config folder. `[volume]` has to be betweem `0` and `100`
Category: WorldPOP
ActionRemoves the last entry from the end of `<array[]>` and stores it in `<outvar>`. Returns the popped element.
Category: VariablesPOPUPMESSAGE
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: GUIPRESS
ActionInjects the specified key event directly into the keyboard buffer for 1 tick
Category: InputPROMPT
ActionDisplays a prompt (or prompts) by parsing the params in paramstring. Returns the result. `<paramstring>` can be any of the [parameters](/docs/parameters).
Category: Mod relatedproperties
IteratorIterates over the properties of the block you are looking at
Category: N/APROPNAME
VariableThe name of the current property. Can be one of the following values: * `AGE` * `ATTACHED` * `AXIS` * `BITES` * `CHECK_DECAY` * `COLOR` * `CONDITIONAL` * `CONTENTS` * `DAMAGE` * `DECAYABLE` * `DELAY` * `DISARMED` * `DOWN` * `EAST` * `ENABLED` * `EXPLODE` * `EXTENDED` * `EYE` * `FACING` * `HALF` * `HAS_BOTTLE_0` * `HAS_BOTTLE_1` * `HAS_BOTTLE_2` * `HAS_RECORD` * `HINGE` * `IN_WALL` * `LAYERS` * `LEGACY_DATA` * `LEVEL` * `LOCKED` * `MODE` * `MOISTURE` * `NODROP` * `NORTH` * `OCCUPIED` * `OPEN` * `PART` * `POWER` * `POWERED` * `ROTATION` * `SEAMLESS` * `SHAPE` * `SHORT` * `SNOWY` * `SOUTH` * `STAGE` * `TRIGGERED` * `TYPE` * `UP` * `VARIANT` * `WEST` * `WET`
Category: N/APROPVALUE
VariableThe value of the current property.
Category: N/APUSH
ActionAppends `<value>` to the end of `<array[]>`
Category: VariablesPUT
ActionInserts `<value>` at the first empty point in `<array[]>`.
Category: VariablesRAIN
VariableRain level
Category: WorldRANDOM
ActionAssigns a random number between min and max to target. Returns the value.
Category: Calculations