ITickHandler

interface ITickHandler(source)

Interface to handle game ticks and "forced ticks". Subscribe to these events with addHandler.

Functions

Link copied to clipboard
abstract fun onTick(@NotNull world: @NotNull World, real: Boolean)
Gets called at the end of a world tick.