setTickInterval

open fun setTickInterval(tickInterval: Int)(source)

Sets how often the tick function should be called (in Minecraft ticks).

This is assumed to be constant for all instances of a block. Should you have a use case where you need to have different blocks have different tick intervals, please make an issue on the GitHub repository and explain your use case.