<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="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="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="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="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="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="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="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="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 phantoms will appear without sleeping 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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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 to log admin commands to server log.</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="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="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="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="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="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="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="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="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="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>