Uses of Enum Class
org.geysermc.connector.utils.GameRule
Packages that use GameRule
-
Uses of GameRule in org.geysermc.connector.network.translators.world
Methods in org.geysermc.connector.network.translators.world with parameters of type GameRuleModifier and TypeMethodDescriptionGeyserWorldManager.getGameRuleBool(GeyserSession session, GameRule gameRule)abstract BooleanWorldManager.getGameRuleBool(GeyserSession session, GameRule gameRule)Gets a gamerule value as a booleanintGeyserWorldManager.getGameRuleInt(GeyserSession session, GameRule gameRule)abstract intWorldManager.getGameRuleInt(GeyserSession session, GameRule gameRule)Get a gamerule value as an integer -
Uses of GameRule in org.geysermc.connector.utils
Fields in org.geysermc.connector.utils declared as GameRuleMethods in org.geysermc.connector.utils that return GameRuleModifier and TypeMethodDescriptionstatic GameRuleGameRule.fromJavaID(String id)Fetch a game rule by the given Java IDstatic GameRuleReturns 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.