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
OFFHANDITEMNAME
Variable

Displayname for the offhand item

Category: Equipped Tool
OFFHANDSTACKSIZE
Variable

Stacksize of the offhand item

Category: Equipped Tool
OLDINVSLOT
Variable

Selected inventory slot before it was changed

Category: N/A
onArmourChange
Event

Raised whenever your armour level changes, for example when you take damage or put on a new piece of armour Each armour icon represents 2 armour points so the maximum armour level is 20

Category: N/A
onArmourDurabilityChange
Event

Raised when any currently-worn armour durability level changes Different items have different durability amounts nd change durability at different times

Category: N/A
onAutoCraftingComplete
Event

Raised when an auto-crafting process is completed

Category: N/A
onChat
Event

Raised whenever a new chat message arrives from the server

Category: N/A
onConfigChange
Event

Raised when the active configuration is changed Note that this event will be raised in the new config not the old one!

Category: N/A
onFilterableChat
Event

Raised whenever a new chat message is sent

Category: N/A
onFoodChange
Event

Raised whenever your food bar level changes Each food icon represents 2 food points so the maximum food level is 20

Category: N/A
onHealthChange
Event

Raised whenever your health level changes eg. when you take damage or receive health from food or potions Each heart represents 2 health points so the maximum health is 20

Category: N/A
onInventorySlotChange
Event

Raised when the selected inventory slot is changed

Category: N/A
onItemDurabilityChange
Event

Raised when the currently-wielded item's durability level changes Different items have different durability amounts and change durability at different times

Category: N/A
onJoinGame
Event

Raised whenever you join a game (single player or SMP) and can be used to start background macros or issue server commands when joining a new game

Category: N/A
onLevelChange
Event

Raised when your XP level changes

Category: N/A
ONLINEPLAYERS
Variable

Amount of players currently on the server

Category: Server
onModeChange
Event

Raised when your game mode changes, for example when switching from creative to survival

Category: N/A
onOxygenChange
Event

Raised when your oxygen level changes The oxygen level represents the number of ticks that you can breathe underwater before beginning to drown

Category: N/A
onPickupItem
Event

Raised when an item is picked up by the player

Category: N/A
onPlayerJoined
Event

Raised when a new player joins the server in a multiplayer game

Category: N/A
onSendChatMessage
Event

Raised whenever a new chat message is sent

Category: N/A
onShowGui
Event

Raised when the current Minecraft GUI changes

Category: N/A
onWeatherChange
Event

Raised when the current weather level changes

Category: N/A
onWorldChange
Event

Raised when the world changes, for example when travelling between worlds in multi-world servers or travelling between Surface, Nether and End

Category: N/A
onXPChange
Event

Raised when you gain (or lose) experience

Category: N/A