Class GameRule<T>

java.lang.Object
org.bukkit.GameRule<T>
Type Parameters:
T - type of rule (Boolean or Integer)
All Implemented Interfaces:
FeatureDependant, net.kyori.adventure.key.Keyed, net.kyori.adventure.translation.Translatable, Keyed

@NonExtendable public abstract class GameRule<T> extends Object implements net.kyori.adventure.translation.Translatable, FeatureDependant, Keyed
GameRules dictate certain behavior within Minecraft itself
For more information please visit the Minecraft Wiki
Since:
1.13
See Also: