getIntegerRange

fun CommandContext<CommandSourceStack>.getIntegerRange(name: String): IntegerRangeProvider

Retrieves an IntegerRangeProvider from the command context.