Uses of Class
The root package of the Bukkit API, contains generalized API classes.
Uses of GameRule in io.papermc.paper.event.worldModifier and TypeMethodDescriptionWorldGameRuleChangeEvent.
()Gets the game rule associated with this event.
Uses of GameRule in org.bukkitModifier and TypeFieldDescriptionGameRule.Toggles the announcing of advancements.GameRule.Whether command blocks should notify admins when they perform commands.GameRule.Whether the server should skip checking player speed when the player is wearing elytra.GameRule.Whether pillager raids are enabled or not.GameRule.Whether time progresses from the current moment.GameRule.Whether entities that are not mobs should have drops.GameRule.Whether fire should spread and naturally extinguish.GameRule.Whether clients will respawn immediately after death or not.GameRule.Whether phantoms will appear without sleeping or not.GameRule.Whether players should only be able to craft recipes they've unlocked first.GameRule.Whether mobs should drop items.GameRule.Whether mobs should naturally spawn.GameRule.Whether patrols should naturally spawn.GameRule.Whether blocks should have drops.GameRule.Whether traders should naturally spawn.GameRule.Whether the weather will change from the current moment.GameRule.Whether drowning damage is enabled or not.GameRule.Whether fall damage is enabled or not.GameRule.Whether fire damage is enabled or not.GameRule.Whether mobs should cease being angry at a player once they die.GameRule.Whether the player should keep items in their inventory after death.GameRule.Whether to log admin commands to server log.GameRule.Determines the number at which the chain of command blocks act as a "chain."
This is the maximum amount of command blocks that can be activated in a single tick from a single chain.GameRule.The maximum number of other pushable entities a mob or player can push, before taking suffocation damage.GameRule.Whether mobs can pick up items or change blocks.GameRule.Whether players can regenerate health naturally through their hunger bar.GameRule.How often a random block tick occurs (such as plant growth, leaf decay, etc.) per chunk section per game tick.GameRule.Whether the debug screen shows all or reduced information.GameRule.Whether the feedback from commands executed by a player should show up in chat.GameRule.Whether a message appears in chat when a player dies.GameRule.The number of blocks outward from the world spawn coordinates that a player will spawn in when first joining a server or when dying without a spawnpoint.GameRule.Whether players in spectator mode can generate chunks.GameRule.Whether mobs will target all player entities once angered.Modifier and TypeMethodDescriptionGet a
GameRuleby its name.GameRule.
()Get an immutable collection of
GameRules.Modifier and TypeMethodDescription
<T> TGet the default value for a given
<T> TGet the current value for a given
<T> booleanSet the given
GameRule's new value.