<divclass="inheritance"title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">java.lang.Object</a>
<dd><code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/translation/Translatable.html"title="class or interface in net.kyori.adventure.translation"class="external-link">Translatable</a></code></dd>
<divclass="type-signature"><spanclass="modifiers">public final class </span><spanclass="element-name type-name-label">GameRule<T></span>
<spanclass="extends-implements">extends <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a>
implements <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/translation/Translatable.html"title="class or interface in net.kyori.adventure.translation"class="external-link">Translatable</a></span></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="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#equals(java.lang.Object)"class="member-name-link">equals</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a> obj)</code></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><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 odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><ahref="#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="block">Get a <ahref="GameRule.html"title="class in org.bukkit"><code>GameRule</code></a> by its name.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><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="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></code></div>
<divclass="block">Get the name of this GameRule.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html"title="class or interface in java.lang"class="external-link">Class</a><<ahref="GameRule.html"title="type parameter in GameRule">T</a>></code></div>
<divclass="block">Get the type of this rule.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><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></code></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><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="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></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><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>
</div>
</div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></h3>
<code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()"title="class or interface in java.lang"class="external-link">clone</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()"title="class or interface in java.lang"class="external-link">finalize</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()"title="class or interface in java.lang"class="external-link">getClass</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()"title="class or interface in java.lang"class="external-link">hashCode</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()"title="class or interface in java.lang"class="external-link">notify</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()"title="class or interface in java.lang"class="external-link">notifyAll</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)"title="class or interface in java.lang"class="external-link">wait</a></code></div>
</section>
</li>
</ul>
</section>
<sectionclass="details">
<ulclass="details-list">
<!-- ============ FIELD DETAIL =========== -->
<li>
<sectionclass="field-details"id="field-detail">
<h2>Field Details</h2>
<ulclass="member-list">
<li>
<sectionclass="detail"id="ANNOUNCE_ADVANCEMENTS">
<h3>ANNOUNCE_ADVANCEMENTS</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">ANNOUNCE_ADVANCEMENTS</span></div>
<divclass="block">Toggles the announcing of advancements.</div>
</section>
</li>
<li>
<sectionclass="detail"id="COMMAND_BLOCK_OUTPUT">
<h3>COMMAND_BLOCK_OUTPUT</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">COMMAND_BLOCK_OUTPUT</span></div>
<divclass="block">Whether command blocks should notify admins when they perform commands.</div>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">DISABLE_ELYTRA_MOVEMENT_CHECK</span></div>
<divclass="block">Whether the server should skip checking player speed when the player is
wearing elytra.</div>
</section>
</li>
<li>
<sectionclass="detail"id="DO_DAYLIGHT_CYCLE">
<h3>DO_DAYLIGHT_CYCLE</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">DO_DAYLIGHT_CYCLE</span></div>
<divclass="block">Whether time progresses from the current moment.</div>
</section>
</li>
<li>
<sectionclass="detail"id="DO_ENTITY_DROPS">
<h3>DO_ENTITY_DROPS</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">DO_ENTITY_DROPS</span></div>
<divclass="block">Whether entities that are not mobs should have drops.</div>
</section>
</li>
<li>
<sectionclass="detail"id="DO_FIRE_TICK">
<h3>DO_FIRE_TICK</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">DO_FIRE_TICK</span></div>
<divclass="block">Whether fire should spread and naturally extinguish.</div>
</section>
</li>
<li>
<sectionclass="detail"id="DO_LIMITED_CRAFTING">
<h3>DO_LIMITED_CRAFTING</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">DO_LIMITED_CRAFTING</span></div>
<divclass="block">Whether players should only be able to craft recipes they've unlocked
first.</div>
</section>
</li>
<li>
<sectionclass="detail"id="DO_MOB_LOOT">
<h3>DO_MOB_LOOT</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">DO_MOB_LOOT</span></div>
<divclass="block">Whether mobs should drop items.</div>
</section>
</li>
<li>
<sectionclass="detail"id="DO_MOB_SPAWNING">
<h3>DO_MOB_SPAWNING</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">DO_MOB_SPAWNING</span></div>
<divclass="block">Whether mobs should naturally spawn.</div>
</section>
</li>
<li>
<sectionclass="detail"id="DO_TILE_DROPS">
<h3>DO_TILE_DROPS</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">DO_TILE_DROPS</span></div>
<divclass="block">Whether blocks should have drops.</div>
</section>
</li>
<li>
<sectionclass="detail"id="DO_WEATHER_CYCLE">
<h3>DO_WEATHER_CYCLE</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">DO_WEATHER_CYCLE</span></div>
<divclass="block">Whether the weather will change from the current moment.</div>
</section>
</li>
<li>
<sectionclass="detail"id="KEEP_INVENTORY">
<h3>KEEP_INVENTORY</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">KEEP_INVENTORY</span></div>
<divclass="block">Whether the player should keep items in their inventory after death.</div>
</section>
</li>
<li>
<sectionclass="detail"id="LOG_ADMIN_COMMANDS">
<h3>LOG_ADMIN_COMMANDS</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">LOG_ADMIN_COMMANDS</span></div>
<divclass="block">Whether to log admin commands to server log.</div>
</section>
</li>
<li>
<sectionclass="detail"id="MOB_GRIEFING">
<h3>MOB_GRIEFING</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">MOB_GRIEFING</span></div>
<divclass="block">Whether mobs can pick up items or change blocks.</div>
</section>
</li>
<li>
<sectionclass="detail"id="NATURAL_REGENERATION">
<h3>NATURAL_REGENERATION</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">NATURAL_REGENERATION</span></div>
<divclass="block">Whether players can regenerate health naturally through their hunger bar.</div>
</section>
</li>
<li>
<sectionclass="detail"id="REDUCED_DEBUG_INFO">
<h3>REDUCED_DEBUG_INFO</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">REDUCED_DEBUG_INFO</span></div>
<divclass="block">Whether the debug screen shows all or reduced information.</div>
</section>
</li>
<li>
<sectionclass="detail"id="SEND_COMMAND_FEEDBACK">
<h3>SEND_COMMAND_FEEDBACK</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">SEND_COMMAND_FEEDBACK</span></div>
<divclass="block">Whether the feedback from commands executed by a player should show up in
chat. Also affects the default behavior of whether command blocks store
their output text.</div>
</section>
</li>
<li>
<sectionclass="detail"id="SHOW_DEATH_MESSAGES">
<h3>SHOW_DEATH_MESSAGES</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">SHOW_DEATH_MESSAGES</span></div>
<divclass="block">Whether a message appears in chat when a player dies.</div>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">SPECTATORS_GENERATE_CHUNKS</span></div>
<divclass="block">Whether players in spectator mode can generate chunks.</div>
</section>
</li>
<li>
<sectionclass="detail"id="DISABLE_RAIDS">
<h3>DISABLE_RAIDS</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">DISABLE_RAIDS</span></div>
<divclass="block">Whether pillager raids are enabled or not.</div>
</section>
</li>
<li>
<sectionclass="detail"id="DO_INSOMNIA">
<h3>DO_INSOMNIA</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">DO_INSOMNIA</span></div>
<divclass="block">Whether phantoms will appear without sleeping or not.</div>
</section>
</li>
<li>
<sectionclass="detail"id="DO_IMMEDIATE_RESPAWN">
<h3>DO_IMMEDIATE_RESPAWN</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">DO_IMMEDIATE_RESPAWN</span></div>
<divclass="block">Whether clients will respawn immediately after death or not.</div>
</section>
</li>
<li>
<sectionclass="detail"id="DROWNING_DAMAGE">
<h3>DROWNING_DAMAGE</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">DROWNING_DAMAGE</span></div>
<divclass="block">Whether drowning damage is enabled or not.</div>
</section>
</li>
<li>
<sectionclass="detail"id="FALL_DAMAGE">
<h3>FALL_DAMAGE</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">FALL_DAMAGE</span></div>
<divclass="block">Whether fall damage is enabled or not.</div>
</section>
</li>
<li>
<sectionclass="detail"id="FIRE_DAMAGE">
<h3>FIRE_DAMAGE</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">FIRE_DAMAGE</span></div>
<divclass="block">Whether fire damage is enabled or not.</div>
</section>
</li>
<li>
<sectionclass="detail"id="FREEZE_DAMAGE">
<h3>FREEZE_DAMAGE</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">FREEZE_DAMAGE</span></div>
<divclass="block">Whether freeze damage is enabled or not.</div>
</section>
</li>
<li>
<sectionclass="detail"id="DO_PATROL_SPAWNING">
<h3>DO_PATROL_SPAWNING</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">DO_PATROL_SPAWNING</span></div>
<divclass="block">Whether patrols should naturally spawn.</div>
</section>
</li>
<li>
<sectionclass="detail"id="DO_TRADER_SPAWNING">
<h3>DO_TRADER_SPAWNING</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">DO_TRADER_SPAWNING</span></div>
<divclass="block">Whether traders should naturally spawn.</div>
</section>
</li>
<li>
<sectionclass="detail"id="DO_WARDEN_SPAWNING">
<h3>DO_WARDEN_SPAWNING</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">DO_WARDEN_SPAWNING</span></div>
<divclass="block">Whether wardens should naturally spawn.</div>
</section>
</li>
<li>
<sectionclass="detail"id="FORGIVE_DEAD_PLAYERS">
<h3>FORGIVE_DEAD_PLAYERS</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">FORGIVE_DEAD_PLAYERS</span></div>
<divclass="block">Whether mobs should cease being angry at a player once they die.</div>
</section>
</li>
<li>
<sectionclass="detail"id="UNIVERSAL_ANGER">
<h3>UNIVERSAL_ANGER</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">UNIVERSAL_ANGER</span></div>
<divclass="block">Whether mobs will target all player entities once angered.</div>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">BLOCK_EXPLOSION_DROP_DECAY</span></div>
<divclass="block">Whether block explosions will destroy dropped items.</div>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">MOB_EXPLOSION_DROP_DECAY</span></div>
<divclass="block">* Whether mob explosions will destroy dropped items.</div>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">TNT_EXPLOSION_DROP_DECAY</span></div>
<divclass="block">Whether tnt explosions will destroy dropped items.</div>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">WATER_SOURCE_CONVERSION</span></div>
<divclass="block">Whether water blocks can convert into water source blocks.</div>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">LAVA_SOURCE_CONVERSION</span></div>
<divclass="block">Whether lava blocks can convert into lava source blocks.</div>
</section>
</li>
<li>
<sectionclass="detail"id="GLOBAL_SOUND_EVENTS">
<h3>GLOBAL_SOUND_EVENTS</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">GLOBAL_SOUND_EVENTS</span></div>
<divclass="block">Whether global level events such as ender dragon, wither, and completed
end portal effects will propagate across the entire server.</div>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">RANDOM_TICK_SPEED</span></div>
<divclass="block">How often a random block tick occurs (such as plant growth, leaf decay,
etc.) per chunk section per game tick. 0 will disable random ticks,
higher numbers will increase random ticks.</div>
</section>
</li>
<li>
<sectionclass="detail"id="SPAWN_RADIUS">
<h3>SPAWN_RADIUS</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">SPAWN_RADIUS</span></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>
</section>
</li>
<li>
<sectionclass="detail"id="MAX_ENTITY_CRAMMING">
<h3>MAX_ENTITY_CRAMMING</h3>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">MAX_ENTITY_CRAMMING</span></div>
<divclass="block">The maximum number of other pushable entities a mob or player can push,
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">MAX_COMMAND_CHAIN_LENGTH</span></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
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">PLAYERS_SLEEPING_PERCENTAGE</span></div>
<divclass="block">The percentage of online players which must be sleeping for the night to
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><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>></span> <spanclass="element-name">SNOW_ACCUMULATION_HEIGHT</span></div>
<divclass="member-signature"><spanclass="annotations"><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>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><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></span> <spanclass="element-name">getName</span>()</div>
<divclass="block">Get the name of this GameRule.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the name of this GameRule</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getType()">
<h3>getType</h3>
<divclass="member-signature"><spanclass="annotations"><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>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><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/Class.html"title="class or interface in java.lang"class="external-link">Class</a><<ahref="GameRule.html"title="type parameter in GameRule">T</a>></span> <spanclass="element-name">getType</span>()</div>
<divclass="block">Get the type of this rule.</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">boolean</span> <spanclass="element-name">equals</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a> obj)</span></div>
<dlclass="notes">
<dt>Overrides:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"title="class or interface in java.lang"class="external-link">equals</a></code> in class <code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></code></dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="toString()">
<h3>toString</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><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></span> <spanclass="element-name">toString</span>()</div>
<dlclass="notes">
<dt>Overrides:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()"title="class or interface in java.lang"class="external-link">toString</a></code> in class <code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></code></dd>
<divclass="member-signature"><spanclass="annotations"><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>
</span><spanclass="modifiers">public static</span> <spanclass="return-type"><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><?></span> <spanclass="element-name">getByName</span><wbr><spanclass="parameters">(<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://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)</span></div>
<divclass="block">Get a <ahref="GameRule.html"title="class in org.bukkit"><code>GameRule</code></a> by its name.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>rule</code> - the name of the GameRule</dd>
<dt>Returns:</dt>
<dd>the <ahref="GameRule.html"title="class in org.bukkit"><code>GameRule</code></a> or null if no GameRule matches the given
name</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="values()">
<h3>values</h3>
<divclass="member-signature"><spanclass="annotations"><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>
</span><spanclass="modifiers">public static</span> <spanclass="return-type"><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><?>[]</span> <spanclass="element-name">values</span>()</div>
<divclass="block">Get an immutable collection of <ahref="GameRule.html"title="class in org.bukkit"><code>GameRule</code></a>s.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>an immutable collection containing all registered GameRules.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="translationKey()">
<h3>translationKey</h3>
<divclass="member-signature"><spanclass="annotations"><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>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><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></span> <spanclass="element-name">translationKey</span>()</div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/translation/Translatable.html#translationKey()"title="class or interface in net.kyori.adventure.translation"class="external-link">net.kyori.adventure.translation.Translatable</a></code></span></div>
<dd><code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/translation/Translatable.html#translationKey()"title="class or interface in net.kyori.adventure.translation"class="external-link">translationKey</a></code> in interface <code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/translation/Translatable.html"title="class or interface in net.kyori.adventure.translation"class="external-link">Translatable</a></code></dd>