<h2>Uses of <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a> in <ahref="../../../io/papermc/paper/event/world/package-summary.html">io.papermc.paper.event.world</a></h2>
<divclass="caption"><span>Methods in <ahref="../../../io/papermc/paper/event/world/package-summary.html">io.papermc.paper.event.world</a> that return <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a></span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="col-first even-row-color"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><?></code></div>
<divclass="block">Gets the game rule associated with this event.</div>
</div>
</div>
<divclass="caption"><span>Constructors in <ahref="../../../io/papermc/paper/event/world/package-summary.html">io.papermc.paper.event.world</a> with parameters of type <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a></span></div>
<divclass="col-second even-row-color"><code><ahref="../../../io/papermc/paper/event/world/WorldGameRuleChangeEvent.html#%3Cinit%3E(org.bukkit.World,org.bukkit.command.CommandSender,org.bukkit.GameRule,java.lang.String)"class="member-name-link">WorldGameRuleChangeEvent</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../World.html"title="interface in org.bukkit">World</a> world,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a> commandSender,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><?> gameRule,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> value)</code></div>
<divclass="col-last even-row-color"> </div>
</div>
</section>
</li>
<li>
<sectionclass="detail"id="org.bukkit">
<h2>Uses of <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a> in <ahref="../package-summary.html">org.bukkit</a></h2>
<divclass="caption"><span>Fields in <ahref="../package-summary.html">org.bukkit</a> declared as <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a></span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="col-first even-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Toggles the announcing of advancements.</div>
</div>
<divclass="col-first odd-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether command blocks should notify admins when they perform commands.</div>
</div>
<divclass="col-first even-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether the server should skip checking player speed when the player is
wearing elytra.</div>
</div>
<divclass="col-first odd-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether pillager raids are enabled or not.</div>
</div>
<divclass="col-first even-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether time progresses from the current moment.</div>
</div>
<divclass="col-first odd-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether entities that are not mobs should have drops.</div>
</div>
<divclass="col-first even-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether fire should spread and naturally extinguish.</div>
</div>
<divclass="col-first odd-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether clients will respawn immediately after death or not.</div>
</div>
<divclass="col-first even-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether phantoms will appear without sleeping or not.</div>
</div>
<divclass="col-first odd-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether players should only be able to craft recipes they've unlocked
first.</div>
</div>
<divclass="col-first even-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether mobs should drop items.</div>
</div>
<divclass="col-first odd-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether mobs should naturally spawn.</div>
</div>
<divclass="col-first even-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether patrols should naturally spawn.</div>
</div>
<divclass="col-first odd-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether blocks should have drops.</div>
</div>
<divclass="col-first even-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether traders should naturally spawn.</div>
</div>
<divclass="col-first odd-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether wardens should naturally spawn.</div>
</div>
<divclass="col-first even-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether the weather will change from the current moment.</div>
</div>
<divclass="col-first odd-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether drowning damage is enabled or not.</div>
</div>
<divclass="col-first even-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether fall damage is enabled or not.</div>
</div>
<divclass="col-first odd-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether fire damage is enabled or not.</div>
</div>
<divclass="col-first even-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether mobs should cease being angry at a player once they die.</div>
</div>
<divclass="col-first odd-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether freeze damage is enabled or not.</div>
</div>
<divclass="col-first even-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether the player should keep items in their inventory after death.</div>
</div>
<divclass="col-first odd-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether to log admin commands to server log.</div>
</div>
<divclass="col-first even-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html"title="class or interface in java.lang"class="external-link">Integer</a>></code></div>
<divclass="block">Determines the number at which the chain of command blocks act as a
"chain."
<br>
This is the maximum amount of command blocks that can be activated in a
single tick from a single chain.</div>
</div>
<divclass="col-first odd-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html"title="class or interface in java.lang"class="external-link">Integer</a>></code></div>
<divclass="block">The maximum number of other pushable entities a mob or player can push,
before taking suffocation damage.</div>
</div>
<divclass="col-first even-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether mobs can pick up items or change blocks.</div>
</div>
<divclass="col-first odd-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether players can regenerate health naturally through their hunger bar.</div>
</div>
<divclass="col-first even-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html"title="class or interface in java.lang"class="external-link">Integer</a>></code></div>
<divclass="block">The percentage of online players which must be sleeping for the night to
advance.</div>
</div>
<divclass="col-first odd-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html"title="class or interface in java.lang"class="external-link">Integer</a>></code></div>
<divclass="block">How often a random block tick occurs (such as plant growth, leaf decay,
etc.) per chunk section per game tick.</div>
</div>
<divclass="col-first even-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether the debug screen shows all or reduced information.</div>
</div>
<divclass="col-first odd-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether the feedback from commands executed by a player should show up in
chat.</div>
</div>
<divclass="col-first even-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether a message appears in chat when a player dies.</div>
</div>
<divclass="col-first odd-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html"title="class or interface in java.lang"class="external-link">Integer</a>></code></div>
<divclass="block">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.</div>
</div>
<divclass="col-first even-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether players in spectator mode can generate chunks.</div>
</div>
<divclass="col-first odd-row-color"><code>static final <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="block">Whether mobs will target all player entities once angered.</div>
</div>
</div>
<divclass="caption"><span>Methods in <ahref="../package-summary.html">org.bukkit</a> that return <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a></span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="col-first even-row-color"><code>static <ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><?></code></div>
<divclass="col-second even-row-color"><spanclass="type-name-label">GameRule.</span><code><ahref="../GameRule.html#getByName(java.lang.String)"class="member-name-link">getByName</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> rule)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Get a <ahref="../GameRule.html"title="class in org.bukkit"><code>GameRule</code></a> by its name.</div>
</div>
<divclass="col-first odd-row-color"><code>static <ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><?>[]</code></div>
<divclass="block">Get an immutable collection of <ahref="../GameRule.html"title="class in org.bukkit"><code>GameRule</code></a>s.</div>
</div>
</div>
<divclass="caption"><span>Methods in <ahref="../package-summary.html">org.bukkit</a> with parameters of type <ahref="../GameRule.html"title="class in org.bukkit">GameRule</a></span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="col-second even-row-color"><spanclass="type-name-label">World.</span><code><ahref="../World.html#getGameRuleDefault(org.bukkit.GameRule)"class="member-name-link">getGameRuleDefault</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><T> rule)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Get the default value for a given <ahref="../GameRule.html"title="class in org.bukkit"><code>GameRule</code></a>.</div>
<divclass="col-second odd-row-color"><spanclass="type-name-label">World.</span><code><ahref="../World.html#getGameRuleValue(org.bukkit.GameRule)"class="member-name-link">getGameRuleValue</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><T> rule)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Get the current value for a given <ahref="../GameRule.html"title="class in org.bukkit"><code>GameRule</code></a>.</div>
<divclass="col-second even-row-color"><spanclass="type-name-label">World.</span><code><ahref="../World.html#setGameRule(org.bukkit.GameRule,T)"class="member-name-link">setGameRule</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../GameRule.html"title="class in org.bukkit">GameRule</a><T> rule,
T newValue)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Set the given <ahref="../GameRule.html"title="class in org.bukkit"><code>GameRule</code></a>'s new value.</div>