tickNumber

abstract val tickNumber: Int

The number of the tick that has started. This will start from 0, which will be the first tick, and increment by 1 for every completed tick while the server is running.

This is NOT a persisted value. It only counts up when the server is running. When the server is restarted, this will reset to 0.