Name Description
onArmourChange

Raised whenever your armour level changes, for example when you take damage or put on a new piece of armour

onArmourDurabilityChange

Raised when any currently-worn armour durability level changes

onAutoCraftingComplete

Raised when an auto-crafting process is completed

onChat

Raised whenever a new chat message arrives from the server

onConfigChange

Raised when the active configuration is changed

onFilterableChat

Raised whenever a new chat message is sent

onFoodChange

Raised whenever your food bar level changes

onHealthChange

Raised whenever your health level changes eg

onInventorySlotChange

Raised when the selected inventory slot is changed

onItemDurabilityChange

Raised when the currently-wielded item's durability level changes

onJoinGame

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

onLevelChange

Raised when your XP level changes

onModeChange

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

onOxygenChange

Raised when your oxygen level changes

onPickupItem

Raised when an item is picked up by the player

onPlayerJoined

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

onSendChatMessage

Raised whenever a new chat message is sent

onShowGui

Raised when the current Minecraft GUI changes

onWeatherChange

Raised when the current weather level changes

onWorldChange

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

onXPChange

Raised when you gain (or lose) experience