getGameRule

abstract fun <V> getGameRule(rule: GameRule<V>): V

Gets the value of the given rule in this holder.

Return

the value

Parameters

V

the value type

rule

the rule