Uses of Class
org.bukkit.GameRule
Packages that use GameRule
Package
Description
The root package of the Bukkit API, contains generalized API classes.
-
Uses of GameRule in io.papermc.paper
Methods in io.papermc.paper that return GameRuleModifier and TypeMethodDescription<MODERN,LEGACY>
GameRule<LEGACY> InternalAPIBridge.legacyGameRuleBridge(GameRule<MODERN> rule, Function<LEGACY, MODERN> fromLegacyToModern, Function<MODERN, LEGACY> toLegacyFromModern, Class<LEGACY> legacyClass) Methods in io.papermc.paper with parameters of type GameRule -
Uses of GameRule in io.papermc.paper.event.world
Fields in io.papermc.paper.event.world declared as GameRuleMethods in io.papermc.paper.event.world that return GameRuleModifier and TypeMethodDescriptionGameRule<?> WorldGameRuleChangeEvent.getGameRule()Gets the game rule associated with this event.Constructors in io.papermc.paper.event.world with parameters of type GameRuleModifierConstructorDescriptionWorldGameRuleChangeEvent(World world, @Nullable CommandSender commandSender, GameRule<?> gameRule, String value) -
Uses of GameRule in io.papermc.paper.registry
Fields in io.papermc.paper.registry with type parameters of type GameRuleModifier and TypeFieldDescriptionstatic final RegistryKey<GameRule<?>> RegistryKey.GAME_RULEBuilt-in registry for game rules. -
Uses of GameRule in io.papermc.paper.registry.keys
Fields in io.papermc.paper.registry.keys with type parameters of type GameRuleModifier and TypeFieldDescriptionGameRuleKeys.ADVANCE_TIMEminecraft:advance_timeGameRuleKeys.ADVANCE_WEATHERminecraft:advance_weatherGameRuleKeys.ALLOW_ENTERING_NETHER_USING_PORTALSminecraft:allow_entering_nether_using_portalsGameRuleKeys.BLOCK_DROPSminecraft:block_dropsGameRuleKeys.BLOCK_EXPLOSION_DROP_DECAYminecraft:block_explosion_drop_decayGameRuleKeys.COMMAND_BLOCK_OUTPUTminecraft:command_block_outputGameRuleKeys.COMMAND_BLOCKS_WORKminecraft:command_blocks_workGameRuleKeys.DROWNING_DAMAGEminecraft:drowning_damageGameRuleKeys.ELYTRA_MOVEMENT_CHECKminecraft:elytra_movement_checkGameRuleKeys.ENDER_PEARLS_VANISH_ON_DEATHminecraft:ender_pearls_vanish_on_deathGameRuleKeys.ENTITY_DROPSminecraft:entity_dropsGameRuleKeys.FALL_DAMAGEminecraft:fall_damageGameRuleKeys.FIRE_DAMAGEminecraft:fire_damageGameRuleKeys.FIRE_SPREAD_RADIUS_AROUND_PLAYERminecraft:fire_spread_radius_around_playerGameRuleKeys.FORGIVE_DEAD_PLAYERSminecraft:forgive_dead_playersGameRuleKeys.FREEZE_DAMAGEminecraft:freeze_damageGameRuleKeys.GLOBAL_SOUND_EVENTSminecraft:global_sound_eventsGameRuleKeys.IMMEDIATE_RESPAWNminecraft:immediate_respawnGameRuleKeys.KEEP_INVENTORYminecraft:keep_inventoryGameRuleKeys.LAVA_SOURCE_CONVERSIONminecraft:lava_source_conversionGameRuleKeys.LIMITED_CRAFTINGminecraft:limited_craftingGameRuleKeys.LOCATOR_BARminecraft:locator_barGameRuleKeys.LOG_ADMIN_COMMANDSminecraft:log_admin_commandsGameRuleKeys.MAX_BLOCK_MODIFICATIONSminecraft:max_block_modificationsGameRuleKeys.MAX_COMMAND_FORKSminecraft:max_command_forksGameRuleKeys.MAX_COMMAND_SEQUENCE_LENGTHminecraft:max_command_sequence_lengthGameRuleKeys.MAX_ENTITY_CRAMMINGminecraft:max_entity_crammingGameRuleKeys.MAX_MINECART_SPEEDminecraft:max_minecart_speedGameRuleKeys.MAX_SNOW_ACCUMULATION_HEIGHTminecraft:max_snow_accumulation_heightGameRuleKeys.MOB_DROPSminecraft:mob_dropsGameRuleKeys.MOB_EXPLOSION_DROP_DECAYminecraft:mob_explosion_drop_decayGameRuleKeys.MOB_GRIEFINGminecraft:mob_griefingGameRuleKeys.NATURAL_HEALTH_REGENERATIONminecraft:natural_health_regenerationGameRuleKeys.PLAYER_MOVEMENT_CHECKminecraft:player_movement_checkGameRuleKeys.PLAYERS_NETHER_PORTAL_CREATIVE_DELAYminecraft:players_nether_portal_creative_delayGameRuleKeys.PLAYERS_NETHER_PORTAL_DEFAULT_DELAYminecraft:players_nether_portal_default_delayGameRuleKeys.PLAYERS_SLEEPING_PERCENTAGEminecraft:players_sleeping_percentageGameRuleKeys.PROJECTILES_CAN_BREAK_BLOCKSminecraft:projectiles_can_break_blocksGameRuleKeys.PVPminecraft:pvpGameRuleKeys.RAIDSminecraft:raidsGameRuleKeys.RANDOM_TICK_SPEEDminecraft:random_tick_speedGameRuleKeys.REDUCED_DEBUG_INFOminecraft:reduced_debug_infoGameRuleKeys.RESPAWN_RADIUSminecraft:respawn_radiusGameRuleKeys.SEND_COMMAND_FEEDBACKminecraft:send_command_feedbackGameRuleKeys.SHOW_ADVANCEMENT_MESSAGESminecraft:show_advancement_messagesGameRuleKeys.SHOW_DEATH_MESSAGESminecraft:show_death_messagesGameRuleKeys.SPAWN_MOBSminecraft:spawn_mobsGameRuleKeys.SPAWN_MONSTERSminecraft:spawn_monstersGameRuleKeys.SPAWN_PATROLSminecraft:spawn_patrolsGameRuleKeys.SPAWN_PHANTOMSminecraft:spawn_phantomsGameRuleKeys.SPAWN_WANDERING_TRADERSminecraft:spawn_wandering_tradersGameRuleKeys.SPAWN_WARDENSminecraft:spawn_wardensGameRuleKeys.SPAWNER_BLOCKS_WORKminecraft:spawner_blocks_workGameRuleKeys.SPECTATORS_GENERATE_CHUNKSminecraft:spectators_generate_chunksGameRuleKeys.SPREAD_VINESminecraft:spread_vinesGameRuleKeys.TNT_EXPLODESminecraft:tnt_explodesGameRuleKeys.TNT_EXPLOSION_DROP_DECAYminecraft:tnt_explosion_drop_decayGameRuleKeys.UNIVERSAL_ANGERminecraft:universal_angerGameRuleKeys.WATER_SOURCE_CONVERSIONminecraft:water_source_conversion -
Uses of GameRule in org.bukkit
Fields in org.bukkit declared as GameRuleModifier and TypeFieldDescriptionGameRules.ADVANCE_TIMEGameRules.ADVANCE_WEATHERGameRule.ALLOW_ENTERING_NETHER_USING_PORTALSDeprecated, for removal: This API element is subject to removal in a future version.GameRules.ALLOW_ENTERING_NETHER_USING_PORTALSGameRule.ALLOW_FIRE_TICKS_AWAY_FROM_PLAYERDeprecated, for removal: This API element is subject to removal in a future version.GameRule.ANNOUNCE_ADVANCEMENTSDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.SHOW_ADVANCEMENT_MESSAGESGameRules.BLOCK_DROPSGameRule.BLOCK_EXPLOSION_DROP_DECAYDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.BLOCK_EXPLOSION_DROP_DECAYGameRules.BLOCK_EXPLOSION_DROP_DECAYGameRule.COMMAND_BLOCK_OUTPUTDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.COMMAND_BLOCK_OUTPUTGameRules.COMMAND_BLOCK_OUTPUTGameRule.COMMAND_BLOCKS_ENABLEDDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.COMMAND_BLOCKS_WORKGameRules.COMMAND_BLOCKS_WORKGameRule.COMMAND_MODIFICATION_BLOCK_LIMITDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.MAX_BLOCK_MODIFICATIONSGameRule.DISABLE_ELYTRA_MOVEMENT_CHECKDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.ELYTRA_MOVEMENT_CHECK(inverted)GameRule.DISABLE_PLAYER_MOVEMENT_CHECKDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.PLAYER_MOVEMENT_CHECK(inverted)GameRule.DISABLE_RAIDSDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.RAIDS(inverted)GameRule.DO_DAYLIGHT_CYCLEDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.ADVANCE_TIMEGameRule.DO_ENTITY_DROPSDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.ENTITY_DROPSGameRule.DO_FIRE_TICKDeprecated, for removal: This API element is subject to removal in a future version.GameRule.DO_IMMEDIATE_RESPAWNDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.IMMEDIATE_RESPAWNGameRule.DO_INSOMNIADeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.SPAWN_PHANTOMSGameRule.DO_LIMITED_CRAFTINGDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.LIMITED_CRAFTINGGameRule.DO_MOB_LOOTDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.MOB_DROPSGameRule.DO_MOB_SPAWNINGDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.SPAWN_MOBSGameRule.DO_PATROL_SPAWNINGDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.SPAWN_PATROLSGameRule.DO_TILE_DROPSDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.BLOCK_DROPSGameRule.DO_TRADER_SPAWNINGDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.SPAWN_WANDERING_TRADERSGameRule.DO_VINES_SPREADDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.SPREAD_VINESGameRule.DO_WARDEN_SPAWNINGDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.SPAWN_WARDENSGameRule.DO_WEATHER_CYCLEDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.ADVANCE_WEATHERGameRule.DROWNING_DAMAGEDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.DROWNING_DAMAGEGameRules.DROWNING_DAMAGEGameRules.ELYTRA_MOVEMENT_CHECKGameRule.ENDER_PEARLS_VANISH_ON_DEATHDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.ENDER_PEARLS_VANISH_ON_DEATHGameRules.ENDER_PEARLS_VANISH_ON_DEATHGameRules.ENTITY_DROPSGameRule.FALL_DAMAGEDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.FALL_DAMAGEGameRules.FALL_DAMAGEGameRule.FIRE_DAMAGEDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.FIRE_DAMAGEGameRules.FIRE_DAMAGEGameRules.FIRE_SPREAD_RADIUS_AROUND_PLAYERGameRule.FORGIVE_DEAD_PLAYERSDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.FORGIVE_DEAD_PLAYERSGameRules.FORGIVE_DEAD_PLAYERSGameRule.FREEZE_DAMAGEDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.FREEZE_DAMAGEGameRules.FREEZE_DAMAGEGameRule.GLOBAL_SOUND_EVENTSDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.GLOBAL_SOUND_EVENTSGameRules.GLOBAL_SOUND_EVENTSGameRules.IMMEDIATE_RESPAWNGameRule.KEEP_INVENTORYDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.KEEP_INVENTORYGameRules.KEEP_INVENTORYGameRule.LAVA_SOURCE_CONVERSIONDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.LAVA_SOURCE_CONVERSIONGameRules.LAVA_SOURCE_CONVERSIONGameRules.LIMITED_CRAFTINGGameRule.LOCATOR_BARDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.LOCATOR_BARGameRules.LOCATOR_BARGameRule.LOG_ADMIN_COMMANDSDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.LOG_ADMIN_COMMANDSGameRules.LOG_ADMIN_COMMANDSGameRules.MAX_BLOCK_MODIFICATIONSGameRule.MAX_COMMAND_CHAIN_LENGTHDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.MAX_COMMAND_SEQUENCE_LENGTHGameRule.MAX_COMMAND_FORK_COUNTDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.MAX_COMMAND_FORKSGameRules.MAX_COMMAND_FORKSGameRules.MAX_COMMAND_SEQUENCE_LENGTHGameRule.MAX_ENTITY_CRAMMINGDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.MAX_ENTITY_CRAMMINGGameRules.MAX_ENTITY_CRAMMINGGameRules.MAX_MINECART_SPEEDGameRules.MAX_SNOW_ACCUMULATION_HEIGHTGameRule.MINECART_MAX_SPEEDDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.MAX_MINECART_SPEEDGameRules.MOB_DROPSGameRule.MOB_EXPLOSION_DROP_DECAYDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.MOB_EXPLOSION_DROP_DECAYGameRules.MOB_EXPLOSION_DROP_DECAYGameRule.MOB_GRIEFINGDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.MOB_GRIEFINGGameRules.MOB_GRIEFINGGameRules.NATURAL_HEALTH_REGENERATIONGameRule.NATURAL_REGENERATIONDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.NATURAL_HEALTH_REGENERATIONGameRules.PLAYER_MOVEMENT_CHECKGameRule.PLAYERS_NETHER_PORTAL_CREATIVE_DELAYDeprecated, for removal: This API element is subject to removal in a future version.GameRules.PLAYERS_NETHER_PORTAL_CREATIVE_DELAYGameRule.PLAYERS_NETHER_PORTAL_DEFAULT_DELAYDeprecated, for removal: This API element is subject to removal in a future version.GameRules.PLAYERS_NETHER_PORTAL_DEFAULT_DELAYGameRule.PLAYERS_SLEEPING_PERCENTAGEDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.PLAYERS_SLEEPING_PERCENTAGEGameRules.PLAYERS_SLEEPING_PERCENTAGEGameRule.PROJECTILES_CAN_BREAK_BLOCKSDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.PROJECTILES_CAN_BREAK_BLOCKSGameRules.PROJECTILES_CAN_BREAK_BLOCKSGameRule.PVPDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.PVPGameRules.PVPGameRules.RAIDSGameRule.RANDOM_TICK_SPEEDDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.RANDOM_TICK_SPEEDGameRules.RANDOM_TICK_SPEEDGameRule.REDUCED_DEBUG_INFODeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.REDUCED_DEBUG_INFOGameRules.REDUCED_DEBUG_INFOGameRules.RESPAWN_RADIUSGameRule.SEND_COMMAND_FEEDBACKDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.SEND_COMMAND_FEEDBACKGameRules.SEND_COMMAND_FEEDBACKGameRules.SHOW_ADVANCEMENT_MESSAGESGameRule.SHOW_DEATH_MESSAGESDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.SHOW_DEATH_MESSAGESGameRules.SHOW_DEATH_MESSAGESGameRule.SNOW_ACCUMULATION_HEIGHTDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.MAX_SNOW_ACCUMULATION_HEIGHTGameRules.SPAWN_MOBSGameRule.SPAWN_MONSTERSDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.SPAWN_MONSTERSGameRules.SPAWN_MONSTERSGameRules.SPAWN_PATROLSGameRules.SPAWN_PHANTOMSGameRule.SPAWN_RADIUSDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.RESPAWN_RADIUSGameRules.SPAWN_WANDERING_TRADERSGameRules.SPAWN_WARDENSGameRule.SPAWNER_BLOCKS_ENABLEDDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.SPAWNER_BLOCKS_WORKGameRules.SPAWNER_BLOCKS_WORKGameRule.SPECTATORS_GENERATE_CHUNKSDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.SPECTATORS_GENERATE_CHUNKSGameRules.SPECTATORS_GENERATE_CHUNKSGameRules.SPREAD_VINESGameRule.TNT_EXPLODESDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.TNT_EXPLODESGameRules.TNT_EXPLODESGameRule.TNT_EXPLOSION_DROP_DECAYDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.TNT_EXPLOSION_DROP_DECAYGameRules.TNT_EXPLOSION_DROP_DECAYGameRule.UNIVERSAL_ANGERDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.UNIVERSAL_ANGERGameRules.UNIVERSAL_ANGERGameRule.WATER_SOURCE_CONVERSIONDeprecated, for removal: This API element is subject to removal in a future version.renamed toGameRules.WATER_SOURCE_CONVERSIONGameRules.WATER_SOURCE_CONVERSIONFields in org.bukkit with type parameters of type GameRuleMethods in org.bukkit that return GameRuleModifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Game rule is now a registry, fetch element from itGameRule.values()Deprecated, for removal: This API element is subject to removal in a future version.Game rule is now a registry, fetch elements from itMethods in org.bukkit with parameters of type GameRuleModifier and TypeMethodDescription<T> TWorld.getGameRuleDefault(@NotNull GameRule<T> rule) Get the default value for a givenGameRule.<T> TWorld.getGameRuleValue(@NotNull GameRule<T> rule) Get the current value for a givenGameRule.<T> booleanWorld.setGameRule(@NotNull GameRule<T> rule, T newValue) Set the givenGameRule's new value.
GameRules.ALLOW_ENTERING_NETHER_USING_PORTALS