Scissors-Website/public/javadoc/1.19.1/org/bukkit/class-use/Instrument.html
2022-07-30 19:29:59 -05:00

196 lines
15 KiB
HTML

<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Uses of Enum Class org.bukkit.Instrument (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: Instrument">
<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="../Instrument.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.Instrument" class="title">Uses of Enum Class<br>org.bukkit.Instrument</h1>
</div>
<div class="caption"><span>Packages that use <a href="../Instrument.html" title="enum class in org.bukkit">Instrument</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.block.data.type">org.bukkit.block.data.type</a></div>
<div class="col-last odd-row-color">
<div class="block">Specific BlockData classes relevant to only a given block or set of blocks.</div>
</div>
<div class="col-first even-row-color"><a href="#org.bukkit.entity">org.bukkit.entity</a></div>
<div class="col-last even-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 odd-row-color"><a href="#org.bukkit.event.block">org.bukkit.event.block</a></div>
<div class="col-last odd-row-color">
<div class="block"><a href="../event/Event.html" title="class in org.bukkit.event"><code>Events</code></a> relating to when a <a href="../block/Block.html" title="interface in org.bukkit.block"><code>block</code></a> is changed or interacts with the <a href="../World.html" title="interface in org.bukkit"><code>world</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="../Instrument.html" title="enum class in org.bukkit">Instrument</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="../Instrument.html" title="enum class in org.bukkit">Instrument</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="../Instrument.html" title="enum class in org.bukkit">Instrument</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Instrument.</span><code><a href="../Instrument.html#getByType(byte)" class="member-name-link">getByType</a><wbr>(byte&nbsp;type)</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="../Instrument.html" title="enum class in org.bukkit">Instrument</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Instrument.</span><code><a href="../Instrument.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="../Instrument.html" title="enum class in org.bukkit">Instrument</a>[]</code></div>
<div class="col-second even-row-color"><span class="type-name-label">Instrument.</span><code><a href="../Instrument.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.block.data.type">
<h2>Uses of <a href="../Instrument.html" title="enum class in org.bukkit">Instrument</a> in <a href="../block/data/type/package-summary.html">org.bukkit.block.data.type</a></h2>
<div class="caption"><span>Methods in <a href="../block/data/type/package-summary.html">org.bukkit.block.data.type</a> that return <a href="../Instrument.html" title="enum class in org.bukkit">Instrument</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="../Instrument.html" title="enum class in org.bukkit">Instrument</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">NoteBlock.</span><code><a href="../block/data/type/NoteBlock.html#getInstrument()" class="member-name-link">getInstrument</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Gets the value of the 'instrument' property.</div>
</div>
</div>
<div class="caption"><span>Methods in <a href="../block/data/type/package-summary.html">org.bukkit.block.data.type</a> with parameters of type <a href="../Instrument.html" title="enum class in org.bukkit">Instrument</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">NoteBlock.</span><code><a href="../block/data/type/NoteBlock.html#setInstrument(org.bukkit.Instrument)" class="member-name-link">setInstrument</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="../Instrument.html" title="enum class in org.bukkit">Instrument</a>&nbsp;instrument)</code></div>
<div class="col-last even-row-color">
<div class="block">Sets the value of the 'instrument' property.</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.bukkit.entity">
<h2>Uses of <a href="../Instrument.html" title="enum class in org.bukkit">Instrument</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> with parameters of type <a href="../Instrument.html" title="enum class in org.bukkit">Instrument</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">Player.</span><code><a href="../entity/Player.html#playNote(org.bukkit.Location,org.bukkit.Instrument,org.bukkit.Note)" class="member-name-link">playNote</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="../Location.html" title="class in org.bukkit">Location</a>&nbsp;loc,
<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="../Instrument.html" title="enum class in org.bukkit">Instrument</a>&nbsp;instrument,
<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="../Note.html" title="class in org.bukkit">Note</a>&nbsp;note)</code></div>
<div class="col-last even-row-color">
<div class="block">Play a note for a player at a location.</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.bukkit.event.block">
<h2>Uses of <a href="../Instrument.html" title="enum class in org.bukkit">Instrument</a> in <a href="../event/block/package-summary.html">org.bukkit.event.block</a></h2>
<div class="caption"><span>Methods in <a href="../event/block/package-summary.html">org.bukkit.event.block</a> that return <a href="../Instrument.html" title="enum class in org.bukkit">Instrument</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="../Instrument.html" title="enum class in org.bukkit">Instrument</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">NotePlayEvent.</span><code><a href="../event/block/NotePlayEvent.html#getInstrument()" class="member-name-link">getInstrument</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Gets the <a href="../Instrument.html" title="enum class in org.bukkit"><code>Instrument</code></a> to be used.</div>
</div>
</div>
<div class="caption"><span>Methods in <a href="../event/block/package-summary.html">org.bukkit.event.block</a> with parameters of type <a href="../Instrument.html" title="enum class in org.bukkit">Instrument</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">NotePlayEvent.</span><code><a href="../event/block/NotePlayEvent.html#setInstrument(org.bukkit.Instrument)" class="member-name-link">setInstrument</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="../Instrument.html" title="enum class in org.bukkit">Instrument</a>&nbsp;instrument)</code></div>
<div class="col-last even-row-color">
<div class="block">Overrides the <a href="../Instrument.html" title="enum class in org.bukkit"><code>Instrument</code></a> to be used.</div>
</div>
</div>
<div class="caption"><span>Constructors in <a href="../event/block/package-summary.html">org.bukkit.event.block</a> with parameters of type <a href="../Instrument.html" title="enum class in org.bukkit">Instrument</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="../event/block/NotePlayEvent.html#%3Cinit%3E(org.bukkit.block.Block,org.bukkit.Instrument,org.bukkit.Note)" class="member-name-link">NotePlayEvent</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="../block/Block.html" title="interface in org.bukkit.block">Block</a>&nbsp;block,
<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="../Instrument.html" title="enum class in org.bukkit">Instrument</a>&nbsp;instrument,
<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="../Note.html" title="class in org.bukkit">Note</a>&nbsp;note)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
</ul>
</section>
</main>
</div>
</div>
</body>
</html>