Added getCurrentTick() to get the current next tick value.