<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>net.kyori.adventure.key.Keyed</code>, <code><ahref="../../../../org/bukkit/Keyed.html"title="interface in org.bukkit">Keyed</a></code></dd>
</dl>
<hr>
<divclass="type-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/ApiStatus.NonExtendable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NonExtendable</a>
</span><spanclass="modifiers">public class </span><spanclass="element-name type-name-label">PotionMix</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="../../../../org/bukkit/Keyed.html"title="interface in org.bukkit">Keyed</a></span></div>
<divclass="block">Represents a potion mix made in a Brewing Stand.</div>
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.NamespacedKey,org.bukkit.inventory.ItemStack,org.bukkit.inventory.RecipeChoice,org.bukkit.inventory.RecipeChoice)"class="member-name-link">PotionMix</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="../../../../org/bukkit/NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a> key,
<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="../../../../org/bukkit/inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> result,
<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="../../../../org/bukkit/inventory/RecipeChoice.html"title="interface in org.bukkit.inventory">RecipeChoice</a> input,
<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="../../../../org/bukkit/inventory/RecipeChoice.html"title="interface in org.bukkit.inventory">RecipeChoice</a> ingredient)</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> o)</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="../../../../org/bukkit/inventory/RecipeChoice.html"title="interface in org.bukkit.inventory">RecipeChoice</a></code></div>
<divclass="block">Gets the ingredient in the top slot of the brewing stand.</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="../../../../org/bukkit/inventory/RecipeChoice.html"title="interface in org.bukkit.inventory">RecipeChoice</a></code></div>
<divclass="block">Gets the input for the bottom 3 slots in the brewing stand.</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="../../../../org/bukkit/NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a></code></div>
<divclass="block">Return the namespaced identifier for this object.</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="../../../../org/bukkit/inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a></code></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>
<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#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>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-org.bukkit.Keyed">Methods inherited from interface org.bukkit.<ahref="../../../../org/bukkit/Keyed.html"title="interface in org.bukkit">Keyed</a></h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">PotionMix</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="../../../../org/bukkit/NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a> key,
<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="../../../../org/bukkit/inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> result,
<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="../../../../org/bukkit/inventory/RecipeChoice.html"title="interface in org.bukkit.inventory">RecipeChoice</a> input,
<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="../../../../org/bukkit/inventory/RecipeChoice.html"title="interface in org.bukkit.inventory">RecipeChoice</a> ingredient)</span></div>
<divclass="block">Creates a new potion mix. Add it to the server with <ahref="../../../../org/bukkit/potion/PotionBrewer.html#addPotionMix(io.papermc.paper.potion.PotionMix)"><code>PotionBrewer.addPotionMix(PotionMix)</code></a>.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>key</code> - a unique key for the mix</dd>
<dd><code>result</code> - the resulting itemstack that will appear in the 3 bottom slots</dd>
<dd><code>input</code> - the input placed into the bottom 3 slots</dd>
<dd><code>ingredient</code> - the ingredient placed into the top slot</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li>
<sectionclass="method-details"id="method-detail">
<h2>Method Details</h2>
<ulclass="member-list">
<li>
<sectionclass="detail"id="getKey()">
<h3>getKey</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="../../../../org/bukkit/NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a></span> <spanclass="element-name">getKey</span>()</div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="../../../../org/bukkit/Keyed.html#getKey()">Keyed</a></code></span></div>
<divclass="block">Return the namespaced identifier for this object.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../../../../org/bukkit/Keyed.html#getKey()">getKey</a></code> in interface <code><ahref="../../../../org/bukkit/Keyed.html"title="interface in org.bukkit">Keyed</a></code></dd>
<dt>Returns:</dt>
<dd>this object's key</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getResult()">
<h3>getResult</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="../../../../org/bukkit/inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a></span> <spanclass="element-name">getResult</span>()</div>
<divclass="block">Gets the resulting itemstack after the brew has finished.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the result itemstack</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getInput()">
<h3>getInput</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="../../../../org/bukkit/inventory/RecipeChoice.html"title="interface in org.bukkit.inventory">RecipeChoice</a></span> <spanclass="element-name">getInput</span>()</div>
<divclass="block">Gets the input for the bottom 3 slots in the brewing stand.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the bottom 3 slot ingredients</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getIngredient()">
<h3>getIngredient</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="../../../../org/bukkit/inventory/RecipeChoice.html"title="interface in org.bukkit.inventory">RecipeChoice</a></span> <spanclass="element-name">getIngredient</span>()</div>
<divclass="block">Gets the ingredient in the top slot of the brewing stand.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the top slot input</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="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> o)</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>
<dd><code><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></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>