mirror of
https://github.com/AtlasMediaGroup/Scissors-Website.git
synced 2024-11-06 01:26:06 +00:00
201 lines
17 KiB
HTML
201 lines
17 KiB
HTML
<!DOCTYPE HTML>
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (17) -->
|
|
<title>Uses of Enum Class org.bukkit.GameMode (Scissors-API 1.19.1-R0.1-SNAPSHOT API)</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="description" content="use: package: org.bukkit, enum: GameMode">
|
|
<meta name="generator" content="javadoc/ClassUseWriter">
|
|
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../script-dir/jquery-ui.min.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style">
|
|
<script type="text/javascript" src="../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../script-dir/jquery-3.5.1.min.js"></script>
|
|
<script type="text/javascript" src="../../../script-dir/jquery-ui.min.js"></script>
|
|
</head>
|
|
<body class="class-use-page">
|
|
<script type="text/javascript">var pathtoroot = "../../../";
|
|
loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<div class="flex-box">
|
|
<header role="banner" class="flex-header">
|
|
<nav role="navigation">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="top-nav" id="navbar-top">
|
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
|
<li><a href="../../../index.html">Overview</a></li>
|
|
<li><a href="../package-summary.html">Package</a></li>
|
|
<li><a href="../GameMode.html" title="enum class in org.bukkit">Class</a></li>
|
|
<li class="nav-bar-cell1-rev">Use</li>
|
|
<li><a href="../package-tree.html">Tree</a></li>
|
|
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../help-doc.html#use">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="sub-nav">
|
|
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
|
|
<input type="text" id="search-input" value="search" disabled="disabled">
|
|
<input type="reset" id="reset-button" value="reset" disabled="disabled">
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
|
</header>
|
|
<div class="flex-content">
|
|
<main role="main">
|
|
<div class="header">
|
|
<h1 title="Uses of Enum Class org.bukkit.GameMode" class="title">Uses of Enum Class<br>org.bukkit.GameMode</h1>
|
|
</div>
|
|
<div class="caption"><span>Packages that use <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a></span></div>
|
|
<div class="summary-table two-column-summary">
|
|
<div class="table-header col-first">Package</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><a href="#org.bukkit">org.bukkit</a></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">The root package of the Bukkit API, contains generalized API classes.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><a href="#org.bukkit.entity">org.bukkit.entity</a></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Interfaces for non-voxel objects that can exist in a <a href="../World.html" title="interface in org.bukkit"><code>world</code></a>, including all players, monsters, projectiles, etc.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><a href="#org.bukkit.event.player">org.bukkit.event.player</a></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><a href="../event/Event.html" title="class in org.bukkit.event"><code>Events</code></a> relating to <a href="../entity/Player.html" title="interface in org.bukkit.entity"><code>players</code></a>.</div>
|
|
</div>
|
|
</div>
|
|
<section class="class-uses">
|
|
<ul class="block-list">
|
|
<li>
|
|
<section class="detail" id="org.bukkit">
|
|
<h2>Uses of <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a> in <a href="../package-summary.html">org.bukkit</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../package-summary.html">org.bukkit</a> that return <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>static <a href="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> <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">GameMode.</span><code><a href="../GameMode.html#getByValue(int)" class="member-name-link">getByValue</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Magic value</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>static <a href="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> <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Bukkit.</span><code><a href="../Bukkit.html#getDefaultGameMode()" class="member-name-link">getDefaultGameMode</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the default <a href="../GameMode.html" title="enum class in org.bukkit"><code>GameMode</code></a> for new players.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="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> <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Server.</span><code><a href="../Server.html#getDefaultGameMode()" class="member-name-link">getDefaultGameMode</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the default <a href="../GameMode.html" title="enum class in org.bukkit"><code>GameMode</code></a> for new players.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>static <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">GameMode.</span><code><a href="../GameMode.html#valueOf(java.lang.String)" class="member-name-link">valueOf</a><wbr>(<a href="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> name)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Returns the enum constant of this class with the specified name.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>static <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a>[]</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">GameMode.</span><code><a href="../GameMode.html#values()" class="member-name-link">values</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Returns an array containing the constants of this enum class, in
|
|
the order they are declared.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../package-summary.html">org.bukkit</a> with parameters of type <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>static void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Bukkit.</span><code><a href="../Bukkit.html#setDefaultGameMode(org.bukkit.GameMode)" class="member-name-link">setDefaultGameMode</a><wbr>(<a href="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> <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a> mode)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Sets the default <a href="../GameMode.html" title="enum class in org.bukkit"><code>GameMode</code></a> for new players.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Server.</span><code><a href="../Server.html#setDefaultGameMode(org.bukkit.GameMode)" class="member-name-link">setDefaultGameMode</a><wbr>(<a href="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> <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a> mode)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Sets the default <a href="../GameMode.html" title="enum class in org.bukkit"><code>GameMode</code></a> for new players.</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.entity">
|
|
<h2>Uses of <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a> in <a href="../entity/package-summary.html">org.bukkit.entity</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../entity/package-summary.html">org.bukkit.entity</a> that return <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="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> <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">HumanEntity.</span><code><a href="../entity/HumanEntity.html#getGameMode()" class="member-name-link">getGameMode</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets this human's current <a href="../GameMode.html" title="enum class in org.bukkit"><code>GameMode</code></a></div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="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> <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#getPreviousGameMode()" class="member-name-link">getPreviousGameMode</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets this player's previous <a href="../GameMode.html" title="enum class in org.bukkit"><code>GameMode</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../entity/package-summary.html">org.bukkit.entity</a> with parameters of type <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">HumanEntity.</span><code><a href="../entity/HumanEntity.html#setGameMode(org.bukkit.GameMode)" class="member-name-link">setGameMode</a><wbr>(<a href="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> <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a> mode)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Sets this human's current <a href="../GameMode.html" title="enum class in org.bukkit"><code>GameMode</code></a></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.event.player">
|
|
<h2>Uses of <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a> in <a href="../event/player/package-summary.html">org.bukkit.event.player</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../event/player/package-summary.html">org.bukkit.event.player</a> that return <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="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> <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">PlayerGameModeChangeEvent.</span><code><a href="../event/player/PlayerGameModeChangeEvent.html#getNewGameMode()" class="member-name-link">getNewGameMode</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the GameMode the player is switched to.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../event/player/package-summary.html">org.bukkit.event.player</a> with parameters of type <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../event/player/PlayerGameModeChangeEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.GameMode)" class="member-name-link">PlayerGameModeChangeEvent</a><wbr>(<a href="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> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> player,
|
|
<a href="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> <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a> newGameMode)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../event/player/PlayerGameModeChangeEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.GameMode,org.bukkit.event.player.PlayerGameModeChangeEvent.Cause,net.kyori.adventure.text.Component)" class="member-name-link">PlayerGameModeChangeEvent</a><wbr>(<a href="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> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> player,
|
|
<a href="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> <a href="../GameMode.html" title="enum class in org.bukkit">GameMode</a> newGameMode,
|
|
<a href="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> <a href="../event/player/PlayerGameModeChangeEvent.Cause.html" title="enum class in org.bukkit.event.player">PlayerGameModeChangeEvent.Cause</a> cause,
|
|
<a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/text/Component.html" title="class or interface in net.kyori.adventure.text" class="external-link">Component</a> cancelMessage)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</main>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|