Lifecycle function; called when this task is ticked. This task will only tick if allowTick is true.
true