Scissors-Website/public/javadoc/1.19.2/org/bukkit/class-use/CropState.html
2022-08-22 20:41:55 -05:00

176 lines
11 KiB
HTML

<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Uses of Enum Class org.bukkit.CropState (Scissors-API 1.19.2-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: CropState">
<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="../CropState.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.CropState" class="title">Uses of Enum Class<br>org.bukkit.CropState</h1>
</div>
<div class="caption"><span>Packages that use <a href="../CropState.html" title="enum class in org.bukkit">CropState</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.material">org.bukkit.material</a></div>
<div class="col-last odd-row-color">
<div class="block">Classes that represents various voxel types and states.</div>
</div>
</div>
<section class="class-uses">
<ul class="block-list">
<li>
<section class="detail" id="org.bukkit">
<h2>Uses of <a href="../CropState.html" title="enum class in org.bukkit">CropState</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="../CropState.html" title="enum class in org.bukkit">CropState</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="../CropState.html" title="enum class in org.bukkit">CropState</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">CropState.</span><code><a href="../CropState.html#getByData(byte)" class="member-name-link">getByData</a><wbr>(byte&nbsp;data)</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="../CropState.html" title="enum class in org.bukkit">CropState</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">CropState.</span><code><a href="../CropState.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>&nbsp;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="../CropState.html" title="enum class in org.bukkit">CropState</a>[]</code></div>
<div class="col-second even-row-color"><span class="type-name-label">CropState.</span><code><a href="../CropState.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>
</section>
</li>
<li>
<section class="detail" id="org.bukkit.material">
<h2>Uses of <a href="../CropState.html" title="enum class in org.bukkit">CropState</a> in <a href="../material/package-summary.html">org.bukkit.material</a></h2>
<div class="caption"><span>Fields in <a href="../material/package-summary.html">org.bukkit.material</a> declared as <a href="../CropState.html" title="enum class in org.bukkit">CropState</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">Field</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>protected static final <a href="../CropState.html" title="enum class in org.bukkit">CropState</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Crops.</span><code><a href="../material/Crops.html#DEFAULT_STATE" class="member-name-link">DEFAULT_STATE</a></code></div>
<div class="col-last even-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
&nbsp;</div>
</div>
<div class="caption"><span>Methods in <a href="../material/package-summary.html">org.bukkit.material</a> that return <a href="../CropState.html" title="enum class in org.bukkit">CropState</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="../CropState.html" title="enum class in org.bukkit">CropState</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Crops.</span><code><a href="../material/Crops.html#getState()" class="member-name-link">getState</a>()</code></div>
<div class="col-last even-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
<div class="block">Gets the current growth state of this crop
For crops with only four growth states such as beetroot, only the values SEEDED, SMALL, TALL and RIPE will be
returned.</div>
</div>
</div>
<div class="caption"><span>Methods in <a href="../material/package-summary.html">org.bukkit.material</a> with parameters of type <a href="../CropState.html" title="enum class in org.bukkit">CropState</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">Crops.</span><code><a href="../material/Crops.html#setState(org.bukkit.CropState)" class="member-name-link">setState</a><wbr>(<a href="../CropState.html" title="enum class in org.bukkit">CropState</a>&nbsp;state)</code></div>
<div class="col-last even-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
<div class="block">Sets the growth state of this crop
For crops with only four growth states such as beetroot, the 8 CropStates are mapped into four states:
SEEDED, SMALL, TALL and RIPE
GERMINATED will change to SEEDED
VERY_SMALL will change to SMALL
MEDIUM will change to TALL
VERY_TALL will change to RIPE</div>
</div>
</div>
<div class="caption"><span>Constructors in <a href="../material/package-summary.html">org.bukkit.material</a> with parameters of type <a href="../CropState.html" title="enum class in org.bukkit">CropState</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>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../material/Crops.html#%3Cinit%3E(org.bukkit.CropState)" class="member-name-link">Crops</a><wbr>(<a href="../CropState.html" title="enum class in org.bukkit">CropState</a>&nbsp;state)</code></div>
<div class="col-last even-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
<div class="block">Constructs a wheat crop block in the given growth state</div>
</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../material/Crops.html#%3Cinit%3E(org.bukkit.Material,org.bukkit.CropState)" class="member-name-link">Crops</a><wbr>(<a href="../Material.html" title="enum class in org.bukkit">Material</a>&nbsp;type,
<a href="../CropState.html" title="enum class in org.bukkit">CropState</a>&nbsp;state)</code></div>
<div class="col-last odd-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
<div class="block">Constructs a crop block of the given type and in the given growth state</div>
</div>
</div>
</section>
</li>
</ul>
</section>
</main>
</div>
</div>
</body>
</html>