javadoc for 1.19.1

This commit is contained in:
2022-07-30 19:29:59 -05:00
parent d6d14f3ad6
commit 5455fbe8b9
6122 changed files with 705341 additions and 704766 deletions

View File

@ -0,0 +1,106 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Uses of Class org.bukkit.potion.Potion (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.potion, class: Potion">
<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="../Potion.html" title="class in org.bukkit.potion">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 Class org.bukkit.potion.Potion" class="title">Uses of Class<br>org.bukkit.potion.Potion</h1>
</div>
<div class="caption"><span>Packages that use <a href="../Potion.html" title="class in org.bukkit.potion">Potion</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.potion">org.bukkit.potion</a></div>
<div class="col-last even-row-color">
<div class="block">Classes to represent various <a href="../../Material.html#POTION"><code>potion</code></a>
properties and manipulation.</div>
</div>
</div>
<section class="class-uses">
<ul class="block-list">
<li>
<section class="detail" id="org.bukkit.potion">
<h2>Uses of <a href="../Potion.html" title="class in org.bukkit.potion">Potion</a> in <a href="../package-summary.html">org.bukkit.potion</a></h2>
<div class="caption"><span>Methods in <a href="../package-summary.html">org.bukkit.potion</a> that return <a href="../Potion.html" title="class in org.bukkit.potion">Potion</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="../Potion.html" title="class in org.bukkit.potion">Potion</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Potion.</span><code><a href="../Potion.html#extend()" class="member-name-link">extend</a>()</code></div>
<div class="col-last even-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
<div class="block">Chain this to the constructor to extend the potion's duration.</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="../Potion.html" title="class in org.bukkit.potion">Potion</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Potion.</span><code><a href="../Potion.html#fromDamage(int)" class="member-name-link">fromDamage</a><wbr>(int&nbsp;damage)</code></div>
<div class="col-last odd-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
<div class="block">Gets the potion from its damage value.</div>
</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/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Potion.html" title="class in org.bukkit.potion">Potion</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Potion.</span><code><a href="../Potion.html#fromItemStack(org.bukkit.inventory.ItemStack)" class="member-name-link">fromItemStack</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="../../inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;item)</code></div>
<div class="col-last even-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
&nbsp;</div>
<div class="col-first odd-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="../Potion.html" title="class in org.bukkit.potion">Potion</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Potion.</span><code><a href="../Potion.html#splash()" class="member-name-link">splash</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
<div class="block">Chain this to the constructor to make the potion a splash potion.</div>
</div>
</div>
</section>
</li>
</ul>
</section>
</main>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,126 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Uses of Interface org.bukkit.potion.PotionBrewer (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.potion, interface: PotionBrewer">
<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="../PotionBrewer.html" title="interface in org.bukkit.potion">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 Interface org.bukkit.potion.PotionBrewer" class="title">Uses of Interface<br>org.bukkit.potion.PotionBrewer</h1>
</div>
<div class="caption"><span>Packages that use <a href="../PotionBrewer.html" title="interface in org.bukkit.potion">PotionBrewer</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.potion">org.bukkit.potion</a></div>
<div class="col-last odd-row-color">
<div class="block">Classes to represent various <a href="../../Material.html#POTION"><code>potion</code></a>
properties and manipulation.</div>
</div>
</div>
<section class="class-uses">
<ul class="block-list">
<li>
<section class="detail" id="org.bukkit">
<h2>Uses of <a href="../PotionBrewer.html" title="interface in org.bukkit.potion">PotionBrewer</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="../PotionBrewer.html" title="interface in org.bukkit.potion">PotionBrewer</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="../PotionBrewer.html" title="interface in org.bukkit.potion">PotionBrewer</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Bukkit.</span><code><a href="../../Bukkit.html#getPotionBrewer()" class="member-name-link">getPotionBrewer</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Gets the potion brewer.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../PotionBrewer.html" title="interface in org.bukkit.potion">PotionBrewer</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Server.</span><code><a href="../../Server.html#getPotionBrewer()" class="member-name-link">getPotionBrewer</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Gets the potion brewer.</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.bukkit.potion">
<h2>Uses of <a href="../PotionBrewer.html" title="interface in org.bukkit.potion">PotionBrewer</a> in <a href="../package-summary.html">org.bukkit.potion</a></h2>
<div class="caption"><span>Methods in <a href="../package-summary.html">org.bukkit.potion</a> that return <a href="../PotionBrewer.html" title="interface in org.bukkit.potion">PotionBrewer</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/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../PotionBrewer.html" title="interface in org.bukkit.potion">PotionBrewer</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Potion.</span><code><a href="../Potion.html#getBrewer()" class="member-name-link">getBrewer</a>()</code></div>
<div class="col-last even-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
<div class="block">Returns an instance of <a href="../PotionBrewer.html" title="interface in org.bukkit.potion"><code>PotionBrewer</code></a>.</div>
</div>
</div>
<div class="caption"><span>Methods in <a href="../package-summary.html">org.bukkit.potion</a> with parameters of type <a href="../PotionBrewer.html" title="interface in org.bukkit.potion">PotionBrewer</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">Potion.</span><code><a href="../Potion.html#setPotionBrewer(org.bukkit.potion.PotionBrewer)" class="member-name-link">setPotionBrewer</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="../PotionBrewer.html" title="interface in org.bukkit.potion">PotionBrewer</a>&nbsp;other)</code></div>
<div class="col-last even-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
<div class="block">Sets the current instance of <a href="../PotionBrewer.html" title="interface in org.bukkit.potion"><code>PotionBrewer</code></a>.</div>
</div>
</div>
</section>
</li>
</ul>
</section>
</main>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,140 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Uses of Class org.bukkit.potion.PotionData (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.potion, class: PotionData">
<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="../PotionData.html" title="class in org.bukkit.potion">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 Class org.bukkit.potion.PotionData" class="title">Uses of Class<br>org.bukkit.potion.PotionData</h1>
</div>
<div class="caption"><span>Packages that use <a href="../PotionData.html" title="class in org.bukkit.potion">PotionData</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.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.inventory.meta">org.bukkit.inventory.meta</a></div>
<div class="col-last odd-row-color">
<div class="block">The interfaces used when manipulating extra data can can be stored inside
<a href="../../inventory/ItemStack.html" title="class in org.bukkit.inventory"><code>item stacks</code></a>.</div>
</div>
</div>
<section class="class-uses">
<ul class="block-list">
<li>
<section class="detail" id="org.bukkit.entity">
<h2>Uses of <a href="../PotionData.html" title="class in org.bukkit.potion">PotionData</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="../PotionData.html" title="class in org.bukkit.potion">PotionData</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="../PotionData.html" title="class in org.bukkit.potion">PotionData</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">AreaEffectCloud.</span><code><a href="../../entity/AreaEffectCloud.html#getBasePotionData()" class="member-name-link">getBasePotionData</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Returns the potion data about the base potion</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/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../PotionData.html" title="class in org.bukkit.potion">PotionData</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Arrow.</span><code><a href="../../entity/Arrow.html#getBasePotionData()" class="member-name-link">getBasePotionData</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns the potion data about the base potion</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="../PotionData.html" title="class in org.bukkit.potion">PotionData</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">AreaEffectCloud.</span><code><a href="../../entity/AreaEffectCloud.html#setBasePotionData(org.bukkit.potion.PotionData)" class="member-name-link">setBasePotionData</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="../PotionData.html" title="class in org.bukkit.potion">PotionData</a>&nbsp;data)</code></div>
<div class="col-last even-row-color">
<div class="block">Sets the underlying potion data</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">Arrow.</span><code><a href="../../entity/Arrow.html#setBasePotionData(org.bukkit.potion.PotionData)" class="member-name-link">setBasePotionData</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="../PotionData.html" title="class in org.bukkit.potion">PotionData</a>&nbsp;data)</code></div>
<div class="col-last odd-row-color">
<div class="block">Sets the underlying potion data</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.bukkit.inventory.meta">
<h2>Uses of <a href="../PotionData.html" title="class in org.bukkit.potion">PotionData</a> in <a href="../../inventory/meta/package-summary.html">org.bukkit.inventory.meta</a></h2>
<div class="caption"><span>Methods in <a href="../../inventory/meta/package-summary.html">org.bukkit.inventory.meta</a> that return <a href="../PotionData.html" title="class in org.bukkit.potion">PotionData</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="../PotionData.html" title="class in org.bukkit.potion">PotionData</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionMeta.</span><code><a href="../../inventory/meta/PotionMeta.html#getBasePotionData()" class="member-name-link">getBasePotionData</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Returns the potion data about the base potion</div>
</div>
</div>
<div class="caption"><span>Methods in <a href="../../inventory/meta/package-summary.html">org.bukkit.inventory.meta</a> with parameters of type <a href="../PotionData.html" title="class in org.bukkit.potion">PotionData</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">PotionMeta.</span><code><a href="../../inventory/meta/PotionMeta.html#setBasePotionData(org.bukkit.potion.PotionData)" class="member-name-link">setBasePotionData</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="../PotionData.html" title="class in org.bukkit.potion">PotionData</a>&nbsp;data)</code></div>
<div class="col-last even-row-color">
<div class="block">Sets the underlying potion data</div>
</div>
</div>
</section>
</li>
</ul>
</section>
</main>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,390 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Uses of Class org.bukkit.potion.PotionEffect (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.potion, class: PotionEffect">
<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="../PotionEffect.html" title="class in org.bukkit.potion">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 Class org.bukkit.potion.PotionEffect" class="title">Uses of Class<br>org.bukkit.potion.PotionEffect</h1>
</div>
<div class="caption"><span>Packages that use <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</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="#com.destroystokyo.paper.event.block">com.destroystokyo.paper.event.block</a></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><a href="#org.bukkit.block">org.bukkit.block</a></div>
<div class="col-last odd-row-color">
<div class="block">Classes used to manipulate the voxels in a <a href="../../World.html" title="interface in org.bukkit"><code>world</code></a>,
including special states.</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.entity">org.bukkit.event.entity</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 <a href="../../entity/Entity.html" title="interface in org.bukkit.entity"><code>entities</code></a>, excluding some directly referencing
some more specific entity types.</div>
</div>
<div class="col-first even-row-color"><a href="#org.bukkit.inventory.meta">org.bukkit.inventory.meta</a></div>
<div class="col-last even-row-color">
<div class="block">The interfaces used when manipulating extra data can can be stored inside
<a href="../../inventory/ItemStack.html" title="class in org.bukkit.inventory"><code>item stacks</code></a>.</div>
</div>
<div class="col-first odd-row-color"><a href="#org.bukkit.potion">org.bukkit.potion</a></div>
<div class="col-last odd-row-color">
<div class="block">Classes to represent various <a href="../../Material.html#POTION"><code>potion</code></a>
properties and manipulation.</div>
</div>
</div>
<section class="class-uses">
<ul class="block-list">
<li>
<section class="detail" id="com.destroystokyo.paper.event.block">
<h2>Uses of <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a> in <a href="../../../../com/destroystokyo/paper/event/block/package-summary.html">com.destroystokyo.paper.event.block</a></h2>
<div class="caption"><span>Methods in <a href="../../../../com/destroystokyo/paper/event/block/package-summary.html">com.destroystokyo.paper.event.block</a> that return <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">BeaconEffectEvent.</span><code><a href="../../../../com/destroystokyo/paper/event/block/BeaconEffectEvent.html#getEffect()" class="member-name-link">getEffect</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Gets the potion effect being applied.</div>
</div>
</div>
<div class="caption"><span>Methods in <a href="../../../../com/destroystokyo/paper/event/block/package-summary.html">com.destroystokyo.paper.event.block</a> with parameters of type <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</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">BeaconEffectEvent.</span><code><a href="../../../../com/destroystokyo/paper/event/block/BeaconEffectEvent.html#setEffect(org.bukkit.potion.PotionEffect)" class="member-name-link">setEffect</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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&nbsp;effect)</code></div>
<div class="col-last even-row-color">
<div class="block">Sets the potion effect that will be applied.</div>
</div>
</div>
<div class="caption"><span>Constructors in <a href="../../../../com/destroystokyo/paper/event/block/package-summary.html">com.destroystokyo.paper.event.block</a> with parameters of type <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</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="../../../../com/destroystokyo/paper/event/block/BeaconEffectEvent.html#%3Cinit%3E(org.bukkit.block.Block,org.bukkit.potion.PotionEffect,org.bukkit.entity.Player,boolean)" class="member-name-link">BeaconEffectEvent</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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&nbsp;effect,
<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>&nbsp;player,
boolean&nbsp;primary)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.bukkit.block">
<h2>Uses of <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a> in <a href="../../block/package-summary.html">org.bukkit.block</a></h2>
<div class="caption"><span>Methods in <a href="../../block/package-summary.html">org.bukkit.block</a> that return <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</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/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Beacon.</span><code><a href="../../block/Beacon.html#getPrimaryEffect()" class="member-name-link">getPrimaryEffect</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Returns the primary effect set on the beacon</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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Beacon.</span><code><a href="../../block/Beacon.html#getSecondaryEffect()" class="member-name-link">getSecondaryEffect</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns the secondary effect set on the beacon.</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.bukkit.entity">
<h2>Uses of <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</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/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">LivingEntity.</span><code><a href="../../entity/LivingEntity.html#getPotionEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">getPotionEffect</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last even-row-color">
<div class="block">Returns the active <a href="../PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a> of the specified type.</div>
</div>
</div>
<div class="caption"><span>Methods in <a href="../../entity/package-summary.html">org.bukkit.entity</a> that return types with arguments of type <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;<a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&gt;</code></div>
<div class="col-second even-row-color"><span class="type-name-label">LivingEntity.</span><code><a href="../../entity/LivingEntity.html#getActivePotionEffects()" class="member-name-link">getActivePotionEffects</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Returns all currently active <a href="../PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a>s on the living
entity.</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/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&gt;</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">AreaEffectCloud.</span><code><a href="../../entity/AreaEffectCloud.html#getCustomEffects()" class="member-name-link">getCustomEffects</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Gets an immutable list containing all custom potion effects applied to
this cloud.</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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&gt;</code></div>
<div class="col-second even-row-color"><span class="type-name-label">Arrow.</span><code><a href="../../entity/Arrow.html#getCustomEffects()" class="member-name-link">getCustomEffects</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Gets an immutable list containing all custom potion effects applied to
this arrow.</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/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;<a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&gt;</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ThrownPotion.</span><code><a href="../../entity/ThrownPotion.html#getEffects()" class="member-name-link">getEffects</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns the effects that are applied by this potion.</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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</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>boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">AreaEffectCloud.</span><code><a href="../../entity/AreaEffectCloud.html#addCustomEffect(org.bukkit.potion.PotionEffect,boolean)" class="member-name-link">addCustomEffect</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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&nbsp;effect,
boolean&nbsp;overwrite)</code></div>
<div class="col-last even-row-color">
<div class="block">Adds a custom potion effect to this cloud.</div>
</div>
<div class="col-first odd-row-color"><code>boolean</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Arrow.</span><code><a href="../../entity/Arrow.html#addCustomEffect(org.bukkit.potion.PotionEffect,boolean)" class="member-name-link">addCustomEffect</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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&nbsp;effect,
boolean&nbsp;overwrite)</code></div>
<div class="col-last odd-row-color">
<div class="block">Adds a custom potion effect to this arrow.</div>
</div>
<div class="col-first even-row-color"><code>boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">LivingEntity.</span><code><a href="../../entity/LivingEntity.html#addPotionEffect(org.bukkit.potion.PotionEffect)" class="member-name-link">addPotionEffect</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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&nbsp;effect)</code></div>
<div class="col-last even-row-color">
<div class="block">Adds the given <a href="../PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a> to the living entity.</div>
</div>
<div class="col-first odd-row-color"><code>boolean</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">LivingEntity.</span><code><a href="../../entity/LivingEntity.html#addPotionEffect(org.bukkit.potion.PotionEffect,boolean)" class="member-name-link">addPotionEffect</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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&nbsp;effect,
boolean&nbsp;force)</code></div>
<div class="col-last odd-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">no need to force since multiple effects of the same type are
now supported.</div>
</div>
</div>
</div>
<div class="caption"><span>Method parameters in <a href="../../entity/package-summary.html">org.bukkit.entity</a> with type arguments of type <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</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>boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">LivingEntity.</span><code><a href="../../entity/LivingEntity.html#addPotionEffects(java.util.Collection)" class="member-name-link">addPotionEffects</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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;<a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&gt;&nbsp;effects)</code></div>
<div class="col-last even-row-color">
<div class="block">Attempts to add all of the given <a href="../PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a> to the living
entity.</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.bukkit.event.entity">
<h2>Uses of <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a> in <a href="../../event/entity/package-summary.html">org.bukkit.event.entity</a></h2>
<div class="caption"><span>Methods in <a href="../../event/entity/package-summary.html">org.bukkit.event.entity</a> that return <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</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/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">EntityPotionEffectEvent.</span><code><a href="../../event/entity/EntityPotionEffectEvent.html#getNewEffect()" class="member-name-link">getNewEffect</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Gets new potion effect of the changed type to be applied.</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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">EntityPotionEffectEvent.</span><code><a href="../../event/entity/EntityPotionEffectEvent.html#getOldEffect()" class="member-name-link">getOldEffect</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Gets the old potion effect of the changed type, which will be removed.</div>
</div>
</div>
<div class="caption"><span>Constructors in <a href="../../event/entity/package-summary.html">org.bukkit.event.entity</a> with parameters of type <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</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/entity/EntityPotionEffectEvent.html#%3Cinit%3E(org.bukkit.entity.LivingEntity,org.bukkit.potion.PotionEffect,org.bukkit.potion.PotionEffect,org.bukkit.event.entity.EntityPotionEffectEvent.Cause,org.bukkit.event.entity.EntityPotionEffectEvent.Action,boolean)" class="member-name-link">EntityPotionEffectEvent</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/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>&nbsp;livingEntity,
<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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&nbsp;oldEffect,
<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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&nbsp;newEffect,
<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/entity/EntityPotionEffectEvent.Cause.html" title="enum class in org.bukkit.event.entity">EntityPotionEffectEvent.Cause</a>&nbsp;cause,
<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/entity/EntityPotionEffectEvent.Action.html" title="enum class in org.bukkit.event.entity">EntityPotionEffectEvent.Action</a>&nbsp;action,
boolean&nbsp;override)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.bukkit.inventory.meta">
<h2>Uses of <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a> in <a href="../../inventory/meta/package-summary.html">org.bukkit.inventory.meta</a></h2>
<div class="caption"><span>Methods in <a href="../../inventory/meta/package-summary.html">org.bukkit.inventory.meta</a> that return types with arguments of type <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&gt;</code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionMeta.</span><code><a href="../../inventory/meta/PotionMeta.html#getCustomEffects()" class="member-name-link">getCustomEffects</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Gets an immutable list containing all custom potion effects applied to
this potion.</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/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&gt;</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">SuspiciousStewMeta.</span><code><a href="../../inventory/meta/SuspiciousStewMeta.html#getCustomEffects()" class="member-name-link">getCustomEffects</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Gets an immutable list containing all custom potion effects applied to
this suspicious stew.</div>
</div>
</div>
<div class="caption"><span>Methods in <a href="../../inventory/meta/package-summary.html">org.bukkit.inventory.meta</a> with parameters of type <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</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>boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionMeta.</span><code><a href="../../inventory/meta/PotionMeta.html#addCustomEffect(org.bukkit.potion.PotionEffect,boolean)" class="member-name-link">addCustomEffect</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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&nbsp;effect,
boolean&nbsp;overwrite)</code></div>
<div class="col-last even-row-color">
<div class="block">Adds a custom potion effect to this potion.</div>
</div>
<div class="col-first odd-row-color"><code>boolean</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">SuspiciousStewMeta.</span><code><a href="../../inventory/meta/SuspiciousStewMeta.html#addCustomEffect(org.bukkit.potion.PotionEffect,boolean)" class="member-name-link">addCustomEffect</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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&nbsp;effect,
boolean&nbsp;overwrite)</code></div>
<div class="col-last odd-row-color">
<div class="block">Adds a custom potion effect to this suspicious stew.</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.bukkit.potion">
<h2>Uses of <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a> in <a href="../package-summary.html">org.bukkit.potion</a></h2>
<div class="caption"><span>Methods in <a href="../package-summary.html">org.bukkit.potion</a> that return <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionBrewer.</span><code><a href="../PotionBrewer.html#createEffect(org.bukkit.potion.PotionEffectType,int,int)" class="member-name-link">createEffect</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;potion,
int&nbsp;duration,
int&nbsp;amplifier)</code></div>
<div class="col-last even-row-color">
<div class="block">Creates a <a href="../PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a> from the given <a href="../PotionEffectType.html" title="class in org.bukkit.potion"><code>PotionEffectType</code></a>,
applying duration modifiers and checks.</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/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#createEffect(int,int)" class="member-name-link">createEffect</a><wbr>(int&nbsp;duration,
int&nbsp;amplifier)</code></div>
<div class="col-last odd-row-color">
<div class="block">Creates a PotionEffect from this PotionEffectType, applying duration
modifiers and checks.</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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffect.</span><code><a href="../PotionEffect.html#withAmbient(boolean)" class="member-name-link">withAmbient</a><wbr>(boolean&nbsp;ambient)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffect.</span><code><a href="../PotionEffect.html#withAmplifier(int)" class="member-name-link">withAmplifier</a><wbr>(int&nbsp;amplifier)</code></div>
<div class="col-last odd-row-color">&nbsp;</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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffect.</span><code><a href="../PotionEffect.html#withDuration(int)" class="member-name-link">withDuration</a><wbr>(int&nbsp;duration)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffect.</span><code><a href="../PotionEffect.html#withIcon(boolean)" class="member-name-link">withIcon</a><wbr>(boolean&nbsp;icon)</code></div>
<div class="col-last odd-row-color">&nbsp;</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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffect.</span><code><a href="../PotionEffect.html#withParticles(boolean)" class="member-name-link">withParticles</a><wbr>(boolean&nbsp;particles)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffect.</span><code><a href="../PotionEffect.html#withType(org.bukkit.potion.PotionEffectType)" class="member-name-link">withType</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
</div>
<div class="caption"><span>Methods in <a href="../package-summary.html">org.bukkit.potion</a> that return types with arguments of type <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;<a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&gt;</code></div>
<div class="col-second even-row-color"><span class="type-name-label">Potion.</span><code><a href="../Potion.html#getEffects()" class="member-name-link">getEffects</a>()</code></div>
<div class="col-last even-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
<div class="block">Returns a collection of <a href="../PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a>s that this <a href="../Potion.html" title="class in org.bukkit.potion"><code>Potion</code></a>
would confer upon a <a href="../../entity/LivingEntity.html" title="interface in org.bukkit.entity"><code>LivingEntity</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/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;<a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&gt;</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionBrewer.</span><code><a href="../PotionBrewer.html#getEffects(org.bukkit.potion.PotionType,boolean,boolean)" class="member-name-link">getEffects</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="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</a>&nbsp;type,
boolean&nbsp;upgraded,
boolean&nbsp;extended)</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns a collection of <a href="../PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a> that would be applied from
a potion with the given type.</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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;<a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&gt;</code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionBrewer.</span><code><a href="../PotionBrewer.html#getEffectsFromDamage(int)" class="member-name-link">getEffectsFromDamage</a><wbr>(int&nbsp;damage)</code></div>
<div class="col-last even-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Non-Functional</div>
</div>
</div>
</div>
</section>
</li>
</ul>
</section>
</main>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,102 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Uses of Enum Class org.bukkit.potion.PotionEffectType.Category (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.potion, class: PotionEffectType, enum: Category">
<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="../PotionEffectType.Category.html" title="enum class in org.bukkit.potion">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.potion.PotionEffectType.Category" class="title">Uses of Enum Class<br>org.bukkit.potion.PotionEffectType.Category</h1>
</div>
<div class="caption"><span>Packages that use <a href="../PotionEffectType.Category.html" title="enum class in org.bukkit.potion">PotionEffectType.Category</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.potion">org.bukkit.potion</a></div>
<div class="col-last even-row-color">
<div class="block">Classes to represent various <a href="../../Material.html#POTION"><code>potion</code></a>
properties and manipulation.</div>
</div>
</div>
<section class="class-uses">
<ul class="block-list">
<li>
<section class="detail" id="org.bukkit.potion">
<h2>Uses of <a href="../PotionEffectType.Category.html" title="enum class in org.bukkit.potion">PotionEffectType.Category</a> in <a href="../package-summary.html">org.bukkit.potion</a></h2>
<div class="caption"><span>Methods in <a href="../package-summary.html">org.bukkit.potion</a> that return <a href="../PotionEffectType.Category.html" title="enum class in org.bukkit.potion">PotionEffectType.Category</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>abstract <a href="../PotionEffectType.Category.html" title="enum class in org.bukkit.potion">PotionEffectType.Category</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#getEffectCategory()" class="member-name-link">getEffectCategory</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Gets the category of this effect</div>
</div>
<div class="col-first odd-row-color"><code><a href="../PotionEffectType.Category.html" title="enum class in org.bukkit.potion">PotionEffectType.Category</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectTypeWrapper.</span><code><a href="../PotionEffectTypeWrapper.html#getEffectCategory()" class="member-name-link">getEffectCategory</a>()</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>static <a href="../PotionEffectType.Category.html" title="enum class in org.bukkit.potion">PotionEffectType.Category</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.Category.</span><code><a href="../PotionEffectType.Category.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 even-row-color">
<div class="block">Returns the enum constant of this class with the specified name.</div>
</div>
<div class="col-first odd-row-color"><code>static <a href="../PotionEffectType.Category.html" title="enum class in org.bukkit.potion">PotionEffectType.Category</a>[]</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.Category.</span><code><a href="../PotionEffectType.Category.html#values()" class="member-name-link">values</a>()</code></div>
<div class="col-last odd-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>
</ul>
</section>
</main>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,580 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Uses of Class org.bukkit.potion.PotionEffectType (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.potion, class: PotionEffectType">
<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="../PotionEffectType.html" title="class in org.bukkit.potion">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 Class org.bukkit.potion.PotionEffectType" class="title">Uses of Class<br>org.bukkit.potion.PotionEffectType</h1>
</div>
<div class="caption"><span>Packages that use <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</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="#io.papermc.paper.event.player">io.papermc.paper.event.player</a></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><a href="#org.bukkit">org.bukkit</a></div>
<div class="col-last odd-row-color">
<div class="block">The root package of the Bukkit API, contains generalized API classes.</div>
</div>
<div class="col-first even-row-color"><a href="#org.bukkit.block">org.bukkit.block</a></div>
<div class="col-last even-row-color">
<div class="block">Classes used to manipulate the voxels in a <a href="../../World.html" title="interface in org.bukkit"><code>world</code></a>,
including special states.</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.entity">org.bukkit.event.entity</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/Entity.html" title="interface in org.bukkit.entity"><code>entities</code></a>, excluding some directly referencing
some more specific entity types.</div>
</div>
<div class="col-first odd-row-color"><a href="#org.bukkit.inventory.meta">org.bukkit.inventory.meta</a></div>
<div class="col-last odd-row-color">
<div class="block">The interfaces used when manipulating extra data can can be stored inside
<a href="../../inventory/ItemStack.html" title="class in org.bukkit.inventory"><code>item stacks</code></a>.</div>
</div>
<div class="col-first even-row-color"><a href="#org.bukkit.potion">org.bukkit.potion</a></div>
<div class="col-last even-row-color">
<div class="block">Classes to represent various <a href="../../Material.html#POTION"><code>potion</code></a>
properties and manipulation.</div>
</div>
</div>
<section class="class-uses">
<ul class="block-list">
<li>
<section class="detail" id="io.papermc.paper.event.player">
<h2>Uses of <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a> in <a href="../../../../io/papermc/paper/event/player/package-summary.html">io.papermc.paper.event.player</a></h2>
<div class="caption"><span>Methods in <a href="../../../../io/papermc/paper/event/player/package-summary.html">io.papermc.paper.event.player</a> that return <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</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/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PlayerChangeBeaconEffectEvent.</span><code><a href="../../../../io/papermc/paper/event/player/PlayerChangeBeaconEffectEvent.html#getPrimary()" class="member-name-link">getPrimary</a>()</code></div>
<div class="col-last even-row-color">&nbsp;</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PlayerChangeBeaconEffectEvent.</span><code><a href="../../../../io/papermc/paper/event/player/PlayerChangeBeaconEffectEvent.html#getSecondary()" class="member-name-link">getSecondary</a>()</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
</div>
<div class="caption"><span>Methods in <a href="../../../../io/papermc/paper/event/player/package-summary.html">io.papermc.paper.event.player</a> with parameters of type <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</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">PlayerChangeBeaconEffectEvent.</span><code><a href="../../../../io/papermc/paper/event/player/PlayerChangeBeaconEffectEvent.html#setPrimary(org.bukkit.potion.PotionEffectType)" class="member-name-link">setPrimary</a><wbr>(<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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;primary)</code></div>
<div class="col-last even-row-color">
<div class="block">Sets the primary effect</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">PlayerChangeBeaconEffectEvent.</span><code><a href="../../../../io/papermc/paper/event/player/PlayerChangeBeaconEffectEvent.html#setSecondary(org.bukkit.potion.PotionEffectType)" class="member-name-link">setSecondary</a><wbr>(<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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;secondary)</code></div>
<div class="col-last odd-row-color">
<div class="block">Sets the secondary effect</div>
</div>
</div>
<div class="caption"><span>Constructors in <a href="../../../../io/papermc/paper/event/player/package-summary.html">io.papermc.paper.event.player</a> with parameters of type <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</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="../../../../io/papermc/paper/event/player/PlayerChangeBeaconEffectEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.potion.PotionEffectType,org.bukkit.potion.PotionEffectType,org.bukkit.block.Block)" class="member-name-link">PlayerChangeBeaconEffectEvent</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>&nbsp;player,
<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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;primary,
<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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;secondary,
<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="../../block/Block.html" title="interface in org.bukkit.block">Block</a>&nbsp;beacon)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.bukkit">
<h2>Uses of <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a> in <a href="../../package-summary.html">org.bukkit</a></h2>
<div class="caption"><span>Fields in <a href="../../package-summary.html">org.bukkit</a> with type parameters of type <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</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>static final <a href="../../Registry.html" title="interface in org.bukkit">Registry</a>&lt;<a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&gt;</code></div>
<div class="col-second even-row-color"><span class="type-name-label">Registry.</span><code><a href="../../Registry.html#POTION_EFFECT_TYPE" class="member-name-link">POTION_EFFECT_TYPE</a></code></div>
<div class="col-last even-row-color">
<div class="block">Potion effect types.</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.bukkit.block">
<h2>Uses of <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a> in <a href="../../block/package-summary.html">org.bukkit.block</a></h2>
<div class="caption"><span>Methods in <a href="../../block/package-summary.html">org.bukkit.block</a> with parameters of type <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</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">Beacon.</span><code><a href="../../block/Beacon.html#setPrimaryEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">setPrimaryEffect</a><wbr>(<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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;effect)</code></div>
<div class="col-last even-row-color">
<div class="block">Set the primary effect on this beacon, or null to clear.</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">Beacon.</span><code><a href="../../block/Beacon.html#setSecondaryEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">setSecondaryEffect</a><wbr>(<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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;effect)</code></div>
<div class="col-last odd-row-color">
<div class="block">Set the secondary effect on this beacon, or null to clear.</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.bukkit.entity">
<h2>Uses of <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</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/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">LivingEntity.</span><code><a href="../../entity/LivingEntity.html#getPotionEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">getPotionEffect</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last even-row-color">
<div class="block">Returns the active <a href="../PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a> of the specified type.</div>
</div>
<div class="col-first odd-row-color"><code>boolean</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">AreaEffectCloud.</span><code><a href="../../entity/AreaEffectCloud.html#hasCustomEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">hasCustomEffect</a><wbr>(<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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last odd-row-color">
<div class="block">Checks for a specific custom potion effect type on this cloud.</div>
</div>
<div class="col-first even-row-color"><code>boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">Arrow.</span><code><a href="../../entity/Arrow.html#hasCustomEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">hasCustomEffect</a><wbr>(<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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last even-row-color">
<div class="block">Checks for a specific custom potion effect type on this arrow.</div>
</div>
<div class="col-first odd-row-color"><code>boolean</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">LivingEntity.</span><code><a href="../../entity/LivingEntity.html#hasPotionEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">hasPotionEffect</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns whether the living entity already has an existing effect of
the given <a href="../PotionEffectType.html" title="class in org.bukkit.potion"><code>PotionEffectType</code></a> applied to it.</div>
</div>
<div class="col-first even-row-color"><code>boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">AreaEffectCloud.</span><code><a href="../../entity/AreaEffectCloud.html#removeCustomEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">removeCustomEffect</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last even-row-color">
<div class="block">Removes a custom potion effect from this cloud.</div>
</div>
<div class="col-first odd-row-color"><code>boolean</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Arrow.</span><code><a href="../../entity/Arrow.html#removeCustomEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">removeCustomEffect</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last odd-row-color">
<div class="block">Removes a custom potion effect from this arrow.</div>
</div>
<div class="col-first even-row-color"><code>void</code></div>
<div class="col-second even-row-color"><span class="type-name-label">LivingEntity.</span><code><a href="../../entity/LivingEntity.html#removePotionEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">removePotionEffect</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last even-row-color">
<div class="block">Removes any effects present of the given <a href="../PotionEffectType.html" title="class in org.bukkit.potion"><code>PotionEffectType</code></a>.</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.bukkit.event.entity">
<h2>Uses of <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a> in <a href="../../event/entity/package-summary.html">org.bukkit.event.entity</a></h2>
<div class="caption"><span>Methods in <a href="../../event/entity/package-summary.html">org.bukkit.event.entity</a> that return <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">EntityPotionEffectEvent.</span><code><a href="../../event/entity/EntityPotionEffectEvent.html#getModifiedType()" class="member-name-link">getModifiedType</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Gets the modified potion effect type.</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.bukkit.inventory.meta">
<h2>Uses of <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a> in <a href="../../inventory/meta/package-summary.html">org.bukkit.inventory.meta</a></h2>
<div class="caption"><span>Methods in <a href="../../inventory/meta/package-summary.html">org.bukkit.inventory.meta</a> with parameters of type <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</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>boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionMeta.</span><code><a href="../../inventory/meta/PotionMeta.html#hasCustomEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">hasCustomEffect</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last even-row-color">
<div class="block">Checks for a specific custom potion effect type on this potion.</div>
</div>
<div class="col-first odd-row-color"><code>boolean</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">SuspiciousStewMeta.</span><code><a href="../../inventory/meta/SuspiciousStewMeta.html#hasCustomEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">hasCustomEffect</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last odd-row-color">
<div class="block">Checks for a specific custom potion effect type on this suspicious stew.</div>
</div>
<div class="col-first even-row-color"><code>boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionMeta.</span><code><a href="../../inventory/meta/PotionMeta.html#removeCustomEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">removeCustomEffect</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last even-row-color">
<div class="block">Removes a custom potion effect from this potion.</div>
</div>
<div class="col-first odd-row-color"><code>boolean</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">SuspiciousStewMeta.</span><code><a href="../../inventory/meta/SuspiciousStewMeta.html#removeCustomEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">removeCustomEffect</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last odd-row-color">
<div class="block">Removes a custom potion effect from this suspicious stew.</div>
</div>
<div class="col-first even-row-color"><code>boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionMeta.</span><code><a href="../../inventory/meta/PotionMeta.html#setMainEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">setMainEffect</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last even-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">use <a href="../../inventory/meta/PotionMeta.html#setBasePotionData(org.bukkit.potion.PotionData)"><code>PotionMeta.setBasePotionData(org.bukkit.potion.PotionData)</code></a></div>
</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.bukkit.potion">
<h2>Uses of <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a> in <a href="../package-summary.html">org.bukkit.potion</a></h2>
<div class="caption"><span>Subclasses of <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a> in <a href="../package-summary.html">org.bukkit.potion</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">Class</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>class&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../PotionEffectTypeWrapper.html" class="type-name-link" title="class in org.bukkit.potion">PotionEffectTypeWrapper</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
<div class="caption"><span>Fields in <a href="../package-summary.html">org.bukkit.potion</a> declared as <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</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>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#ABSORPTION" class="member-name-link">ABSORPTION</a></code></div>
<div class="col-last even-row-color">
<div class="block">Increases the maximum health of an entity with health that cannot be
regenerated, but is refilled every 30 seconds.</div>
</div>
<div class="col-first odd-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#BAD_OMEN" class="member-name-link">BAD_OMEN</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Triggers a raid when the player enters a village.<br>
oof.</div>
</div>
<div class="col-first even-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#BLINDNESS" class="member-name-link">BLINDNESS</a></code></div>
<div class="col-last even-row-color">
<div class="block">Blinds an entity.</div>
</div>
<div class="col-first odd-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#CONDUIT_POWER" class="member-name-link">CONDUIT_POWER</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Effects granted by a nearby conduit.</div>
</div>
<div class="col-first even-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#CONFUSION" class="member-name-link">CONFUSION</a></code></div>
<div class="col-last even-row-color">
<div class="block">Warps vision on the client.</div>
</div>
<div class="col-first odd-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#DAMAGE_RESISTANCE" class="member-name-link">DAMAGE_RESISTANCE</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Decreases damage dealt to an entity.</div>
</div>
<div class="col-first even-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#DARKNESS" class="member-name-link">DARKNESS</a></code></div>
<div class="col-last even-row-color">
<div class="block">Causes the player's vision to dim occasionally.</div>
</div>
<div class="col-first odd-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#DOLPHINS_GRACE" class="member-name-link">DOLPHINS_GRACE</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Increses underwater movement speed.<br>
Squee'ek uh'k kk'kkkk squeek eee'eek.</div>
</div>
<div class="col-first even-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#FAST_DIGGING" class="member-name-link">FAST_DIGGING</a></code></div>
<div class="col-last even-row-color">
<div class="block">Increases dig speed.</div>
</div>
<div class="col-first odd-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#FIRE_RESISTANCE" class="member-name-link">FIRE_RESISTANCE</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Stops fire damage.</div>
</div>
<div class="col-first even-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#GLOWING" class="member-name-link">GLOWING</a></code></div>
<div class="col-last even-row-color">
<div class="block">Outlines the entity so that it can be seen from afar.</div>
</div>
<div class="col-first odd-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#HARM" class="member-name-link">HARM</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Hurts an entity.</div>
</div>
<div class="col-first even-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#HEAL" class="member-name-link">HEAL</a></code></div>
<div class="col-last even-row-color">
<div class="block">Heals an entity.</div>
</div>
<div class="col-first odd-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#HEALTH_BOOST" class="member-name-link">HEALTH_BOOST</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Increases the maximum health of an entity.</div>
</div>
<div class="col-first even-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#HERO_OF_THE_VILLAGE" class="member-name-link">HERO_OF_THE_VILLAGE</a></code></div>
<div class="col-last even-row-color">
<div class="block">Reduces the cost of villager trades.<br>
\o/.</div>
</div>
<div class="col-first odd-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#HUNGER" class="member-name-link">HUNGER</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Increases hunger.</div>
</div>
<div class="col-first even-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#INCREASE_DAMAGE" class="member-name-link">INCREASE_DAMAGE</a></code></div>
<div class="col-last even-row-color">
<div class="block">Increases damage dealt.</div>
</div>
<div class="col-first odd-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#INVISIBILITY" class="member-name-link">INVISIBILITY</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Grants invisibility.</div>
</div>
<div class="col-first even-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#JUMP" class="member-name-link">JUMP</a></code></div>
<div class="col-last even-row-color">
<div class="block">Increases jump height.</div>
</div>
<div class="col-first odd-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#LEVITATION" class="member-name-link">LEVITATION</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Causes the entity to float into the air.</div>
</div>
<div class="col-first even-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#LUCK" class="member-name-link">LUCK</a></code></div>
<div class="col-last even-row-color">
<div class="block">Loot table luck.</div>
</div>
<div class="col-first odd-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#NIGHT_VISION" class="member-name-link">NIGHT_VISION</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Allows an entity to see in the dark.</div>
</div>
<div class="col-first even-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#POISON" class="member-name-link">POISON</a></code></div>
<div class="col-last even-row-color">
<div class="block">Deals damage to an entity over time.</div>
</div>
<div class="col-first odd-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#REGENERATION" class="member-name-link">REGENERATION</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Regenerates health.</div>
</div>
<div class="col-first even-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#SATURATION" class="member-name-link">SATURATION</a></code></div>
<div class="col-last even-row-color">
<div class="block">Increases the food level of an entity each tick.</div>
</div>
<div class="col-first odd-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#SLOW" class="member-name-link">SLOW</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Decreases movement speed.</div>
</div>
<div class="col-first even-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#SLOW_DIGGING" class="member-name-link">SLOW_DIGGING</a></code></div>
<div class="col-last even-row-color">
<div class="block">Decreases dig speed.</div>
</div>
<div class="col-first odd-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#SLOW_FALLING" class="member-name-link">SLOW_FALLING</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Slows entity fall rate.</div>
</div>
<div class="col-first even-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#SPEED" class="member-name-link">SPEED</a></code></div>
<div class="col-last even-row-color">
<div class="block">Increases movement speed.</div>
</div>
<div class="col-first odd-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#UNLUCK" class="member-name-link">UNLUCK</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Loot table unluck.</div>
</div>
<div class="col-first even-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#WATER_BREATHING" class="member-name-link">WATER_BREATHING</a></code></div>
<div class="col-last even-row-color">
<div class="block">Allows breathing underwater.</div>
</div>
<div class="col-first odd-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#WEAKNESS" class="member-name-link">WEAKNESS</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Decreases damage dealt by an entity.</div>
</div>
<div class="col-first even-row-color"><code>static final <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#WITHER" class="member-name-link">WITHER</a></code></div>
<div class="col-last even-row-color">
<div class="block">Deals damage to an entity over time and gives the health to the
shooter.</div>
</div>
</div>
<div class="caption"><span>Methods in <a href="../package-summary.html">org.bukkit.potion</a> that return <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#getById(int)" class="member-name-link">getById</a><wbr>(int&nbsp;id)</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/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#getByKey(org.bukkit.NamespacedKey)" class="member-name-link">getByKey</a><wbr>(<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="../../NamespacedKey.html" title="class in org.bukkit">NamespacedKey</a>&nbsp;key)</code></div>
<div class="col-last odd-row-color">
<div class="block">Gets the PotionEffectType at the specified key</div>
</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#getByName(java.lang.String)" class="member-name-link">getByName</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="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 even-row-color">
<div class="block">Gets the effect type specified by the given name.</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionType.</span><code><a href="../PotionType.html#getEffectType()" class="member-name-link">getEffectType</a>()</code></div>
<div class="col-last odd-row-color">&nbsp;</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffect.</span><code><a href="../PotionEffect.html#getType()" class="member-name-link">getType</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Returns the <a href="../PotionEffectType.html" title="class in org.bukkit.potion"><code>PotionEffectType</code></a> of this effect.</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/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffectTypeWrapper.</span><code><a href="../PotionEffectTypeWrapper.html#getType()" class="member-name-link">getType</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Get the potion type bound to this wrapper.</div>
</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/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>[]</code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionEffectType.</span><code><a href="../PotionEffectType.html#values()" class="member-name-link">values</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Returns an array of all the registered <a href="../PotionEffectType.html" title="class in org.bukkit.potion"><code>PotionEffectType</code></a>s.</div>
</div>
</div>
<div class="caption"><span>Methods in <a href="../package-summary.html">org.bukkit.potion</a> with parameters of type <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</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="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionBrewer.</span><code><a href="../PotionBrewer.html#createEffect(org.bukkit.potion.PotionEffectType,int,int)" class="member-name-link">createEffect</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;potion,
int&nbsp;duration,
int&nbsp;amplifier)</code></div>
<div class="col-last even-row-color">
<div class="block">Creates a <a href="../PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a> from the given <a href="../PotionEffectType.html" title="class in org.bukkit.potion"><code>PotionEffectType</code></a>,
applying duration modifiers and checks.</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/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionType.</span><code><a href="../PotionType.html#getByEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">getByEffect</a><wbr>(<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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;effectType)</code></div>
<div class="col-last odd-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Misleading</div>
</div>
</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">PotionEffectType.</span><code><a href="../PotionEffectType.html#registerPotionEffectType(org.bukkit.potion.PotionEffectType)" class="member-name-link">registerPotionEffectType</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last even-row-color">
<div class="block">Registers an effect type with the given object.</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/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionEffect.</span><code><a href="../PotionEffect.html#withType(org.bukkit.potion.PotionEffectType)" class="member-name-link">withType</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
</div>
<div class="caption"><span>Constructors in <a href="../package-summary.html">org.bukkit.potion</a> with parameters of type <a href="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</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="../PotionEffect.html#%3Cinit%3E(org.bukkit.potion.PotionEffectType,int,int)" class="member-name-link">PotionEffect</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type,
int&nbsp;duration,
int&nbsp;amplifier)</code></div>
<div class="col-last even-row-color">
<div class="block">Creates a potion effect.</div>
</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../PotionEffect.html#%3Cinit%3E(org.bukkit.potion.PotionEffectType,int,int,boolean)" class="member-name-link">PotionEffect</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type,
int&nbsp;duration,
int&nbsp;amplifier,
boolean&nbsp;ambient)</code></div>
<div class="col-last odd-row-color">
<div class="block">Creates a potion effect.</div>
</div>
<div class="col-first even-row-color"><code>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../PotionEffect.html#%3Cinit%3E(org.bukkit.potion.PotionEffectType,int,int,boolean,boolean)" class="member-name-link">PotionEffect</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type,
int&nbsp;duration,
int&nbsp;amplifier,
boolean&nbsp;ambient,
boolean&nbsp;particles)</code></div>
<div class="col-last even-row-color">
<div class="block">Creates a potion effect with no defined color.</div>
</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../PotionEffect.html#%3Cinit%3E(org.bukkit.potion.PotionEffectType,int,int,boolean,boolean,boolean)" class="member-name-link">PotionEffect</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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type,
int&nbsp;duration,
int&nbsp;amplifier,
boolean&nbsp;ambient,
boolean&nbsp;particles,
boolean&nbsp;icon)</code></div>
<div class="col-last odd-row-color">
<div class="block">Creates a potion effect.</div>
</div>
</div>
</section>
</li>
</ul>
</section>
</main>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,58 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Uses of Class org.bukkit.potion.PotionEffectTypeWrapper (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.potion, class: PotionEffectTypeWrapper">
<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="../PotionEffectTypeWrapper.html" title="class in org.bukkit.potion">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 Class org.bukkit.potion.PotionEffectTypeWrapper" class="title">Uses of Class<br>org.bukkit.potion.PotionEffectTypeWrapper</h1>
</div>
No usage of org.bukkit.potion.PotionEffectTypeWrapper</main>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,182 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Uses of Enum Class org.bukkit.potion.PotionType (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.potion, enum: PotionType">
<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="../PotionType.html" title="enum class in org.bukkit.potion">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.potion.PotionType" class="title">Uses of Enum Class<br>org.bukkit.potion.PotionType</h1>
</div>
<div class="caption"><span>Packages that use <a href="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</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.potion">org.bukkit.potion</a></div>
<div class="col-last even-row-color">
<div class="block">Classes to represent various <a href="../../Material.html#POTION"><code>potion</code></a>
properties and manipulation.</div>
</div>
</div>
<section class="class-uses">
<ul class="block-list">
<li>
<section class="detail" id="org.bukkit.potion">
<h2>Uses of <a href="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</a> in <a href="../package-summary.html">org.bukkit.potion</a></h2>
<div class="caption"><span>Methods in <a href="../package-summary.html">org.bukkit.potion</a> that return <a href="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</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="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionType.</span><code><a href="../PotionType.html#getByEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">getByEffect</a><wbr>(<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="../PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;effectType)</code></div>
<div class="col-last even-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Misleading</div>
</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/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Potion.</span><code><a href="../Potion.html#getType()" class="member-name-link">getType</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
<div class="block">Returns the <a href="../PotionType.html" title="enum class in org.bukkit.potion"><code>PotionType</code></a> of this potion.</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="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionData.</span><code><a href="../PotionData.html#getType()" class="member-name-link">getType</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Gets the type of the potion, Type matches up with each kind of craftable
potion</div>
</div>
<div class="col-first odd-row-color"><code>static <a href="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">PotionType.</span><code><a href="../PotionType.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="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</a>[]</code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionType.</span><code><a href="../PotionType.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.potion</a> with parameters of type <a href="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;<a href="../PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&gt;</code></div>
<div class="col-second even-row-color"><span class="type-name-label">PotionBrewer.</span><code><a href="../PotionBrewer.html#getEffects(org.bukkit.potion.PotionType,boolean,boolean)" class="member-name-link">getEffects</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="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</a>&nbsp;type,
boolean&nbsp;upgraded,
boolean&nbsp;extended)</code></div>
<div class="col-last even-row-color">
<div class="block">Returns a collection of <a href="../PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a> that would be applied from
a potion with the given type.</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">Potion.</span><code><a href="../Potion.html#setType(org.bukkit.potion.PotionType)" class="member-name-link">setType</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="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</a>&nbsp;type)</code></div>
<div class="col-last odd-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
<div class="block">Sets the <a href="../PotionType.html" title="enum class in org.bukkit.potion"><code>PotionType</code></a> of this potion.</div>
</div>
</div>
<div class="caption"><span>Constructors in <a href="../package-summary.html">org.bukkit.potion</a> with parameters of type <a href="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</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="../Potion.html#%3Cinit%3E(org.bukkit.potion.PotionType)" class="member-name-link">Potion</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="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</a>&nbsp;type)</code></div>
<div class="col-last even-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
<div class="block">Construct a new potion of the given type.</div>
</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../Potion.html#%3Cinit%3E(org.bukkit.potion.PotionType,int)" class="member-name-link">Potion</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="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</a>&nbsp;type,
int&nbsp;level)</code></div>
<div class="col-last odd-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
<div class="block">Create a new potion of the given type and level.</div>
</div>
<div class="col-first even-row-color"><code>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../Potion.html#%3Cinit%3E(org.bukkit.potion.PotionType,int,boolean)" class="member-name-link">Potion</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="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</a>&nbsp;type,
int&nbsp;level,
boolean&nbsp;splash)</code></div>
<div class="col-last even-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">In favour of using <a href="../Potion.html#%3Cinit%3E(org.bukkit.potion.PotionType)"><code>Potion(PotionType)</code></a> with <a href="../Potion.html#splash()"><code>Potion.splash()</code></a>.</div>
</div>
</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../Potion.html#%3Cinit%3E(org.bukkit.potion.PotionType,int,boolean,boolean)" class="member-name-link">Potion</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="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</a>&nbsp;type,
int&nbsp;level,
boolean&nbsp;splash,
boolean&nbsp;extended)</code></div>
<div class="col-last odd-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">In favour of using <a href="../Potion.html#%3Cinit%3E(org.bukkit.potion.PotionType)"><code>Potion(PotionType)</code></a> with <a href="../Potion.html#extend()"><code>Potion.extend()</code></a> and possibly <a href="../Potion.html#splash()"><code>Potion.splash()</code></a>.</div>
</div>
</div>
<div class="col-first even-row-color"><code>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../PotionData.html#%3Cinit%3E(org.bukkit.potion.PotionType)" class="member-name-link">PotionData</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="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</a>&nbsp;type)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../PotionData.html#%3Cinit%3E(org.bukkit.potion.PotionType,boolean,boolean)" class="member-name-link">PotionData</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="../PotionType.html" title="enum class in org.bukkit.potion">PotionType</a>&nbsp;type,
boolean&nbsp;extended,
boolean&nbsp;upgraded)</code></div>
<div class="col-last odd-row-color">
<div class="block">Instantiates a final PotionData object to contain information about a
Potion</div>
</div>
</div>
</section>
</li>
</ul>
</section>
</main>
</div>
</div>
</body>
</html>