OptionaleventThis function will be called every time the player attempts to break a block in the world.
The block event that contains information about the event.
The function should return true if the event should be cancelled.
OptionaleventThis function will be called every time the player attempts to place a block in the world.
The block event that contains information about the event.
The function should return true if the event should be cancelled.
OptionaleventThis function will be called every time the player attempts to use the W, A, S, D or arrow keys to move. This function does not get called for gravity.
The block event that contains information about the event.
The function should return true if the event should be cancelled. The player will snap back to their original position.
This function is called by the game to retrieve information about the mod.
The mod's information
This function should return the same ModDetails every time it is called.
This function is called by the game to get the namespace for the mod.
The mod's namespace
OptionalhudThis function is called every HUD refresh. Do not use the HUDContext anywhere outside of this function.
The HUD context which contains all the functions for drawing to the HUD.
OptionalstartThis function is called when the game is starting. You should register all Blocks here.
OptionaltickThis function is called every game tick.
The main mod definition that is read by the game.