Uses of Enum Class
org.geysermc.geyser.level.GameRule
Packages that use GameRule
-
Uses of GameRule in org.geysermc.geyser.level
Fields in org.geysermc.geyser.level declared as GameRuleMethods in org.geysermc.geyser.level that return GameRuleModifier 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.Methods in org.geysermc.geyser.level with parameters of type GameRuleModifier 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
Methods in org.geysermc.geyser.platform.spigot.world.manager with parameters of type GameRuleModifier and TypeMethodDescriptionGeyserSpigotWorldManager.getGameRuleBool(GeyserSession session, GameRule gameRule)
int
GeyserSpigotWorldManager.getGameRuleInt(GeyserSession session, GameRule gameRule)