TickEvent
Learn more about the TickEvent
@Subscribe
public void onTick(TickEvent event) {
if(event.stage == Stage.START) {
// do something at the start of the tick
}
if(event.stage == Stage.END) {
// do something at the end of the tick.
}
}Last updated
Was this helpful?