Tick Events

I was just wondering if there was a tick event that I could use. Either for the client or the server or anything really. I’m used to forge where they have TickEvent.ClientTickEvent and such so if there’s anything like that in sponge then that’s what I need. Also, is the @Listener annotation the same as @SubscribeEvent for forge?

If you want to execute something every tick, you should use Sponges scheduler, somehow like this:

Task.builder()
.intervalTicks(1)
.execute(/*your Runnable*/)
.submit(/*your Plugin*/);
1 Like