isTickThread

abstract fun isTickThread(): Boolean

Checks if the current thread is the main server tick thread.

Return

true if on the tick thread, false otherwise

Since

2.0.0