getTime

fun CommandContext<CommandSourceStack>.getTime(name: String): Int

Retrieves a time value in ticks (Int) from the command context.