Class TickEvent

java.lang.Object
baritone.api.event.events.TickEvent

public final class TickEvent extends Object
Called on and after each game tick of the primary Minecraft instance and dispatched to all Baritone instances.

When state is EventState.PRE, the event is being called just prior to when the current in-game screen is ticked. When state is EventState.POST, the event is being called at the very end of the

invalid reference
Minecraft#runTick()
method.