Uses of Enum Class
org.geysermc.geyser.level.GameRule
-
Uses of GameRule in org.geysermc.geyser.level
Modifier and TypeMethodDescriptionstatic GameRule
GameRule.fromJavaID(String id)
Fetch a game rule by the given Java IDstatic GameRule
Returns the enum constant of this class with the specified name.static GameRule[]
GameRule.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionGeyserWorldManager.getGameRuleBool(GeyserSession session, GameRule gameRule)
abstract Boolean
WorldManager.getGameRuleBool(GeyserSession session, GameRule gameRule)
Gets a gamerule value as a booleanint
GeyserWorldManager.getGameRuleInt(GeyserSession session, GameRule gameRule)
abstract int
WorldManager.getGameRuleInt(GeyserSession session, GameRule gameRule)
Get a gamerule value as an integer -
Uses of GameRule in org.geysermc.geyser.platform.spigot.world.manager
Modifier and TypeMethodDescriptionGeyserSpigotWorldManager.getGameRuleBool(GeyserSession session, GameRule gameRule)
int
GeyserSpigotWorldManager.getGameRuleInt(GeyserSession session, GameRule gameRule)