Skip to content

Commit

Permalink
Publishing javadoc for SpongePowered/SpongeAPI 11.0.0-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
Spongie committed Nov 18, 2023
1 parent 8e4730b commit 9f2027a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,20 +208,17 @@ <h3>duration</h3>
<li>
<section class="detail" id="amplifier(int)">
<h3>amplifier</h3>
<div class="member-signature"><span class="return-type"><a href="PotionEffect.Builder.html" title="interface in org.spongepowered.api.effect.potion">PotionEffect.Builder</a></span>&nbsp;<span class="element-name">amplifier</span><wbr><span class="parameters">(int&nbsp;amplifier)</span>
throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></span></div>
<div class="member-signature"><span class="return-type"><a href="PotionEffect.Builder.html" title="interface in org.spongepowered.api.effect.potion">PotionEffect.Builder</a></span>&nbsp;<span class="element-name">amplifier</span><wbr><span class="parameters">(int&nbsp;amplifier)</span></div>
<div class="block">Sets the amplifier power of the potion effect.

<p>Amplifiers must be greater than or equal to zero. See
<p>See
<a href="PotionEffect.html#amplifier()"><code>PotionEffect.amplifier()</code></a> for an explanation of what the amplifier means.
</p></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>amplifier</code> - The amplifier power</dd>
<dt>Returns:</dt>
<dd>This builder, for chaining</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></code> - If the amplifier is less than zero</dd>
</dl>
</section>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ <h3>of</h3>
<dt>Returns:</dt>
<dd>The potion effect</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></code> - If the amplifier is negative or the duration is not positive</dd>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></code> - If the duration is not positive</dd>
</dl>
</section>
</li>
Expand All @@ -240,7 +240,7 @@ <h3>of</h3>
<dt>Returns:</dt>
<dd>The potion effect</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></code> - If the amplifier is negative or the duration is not positive</dd>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></code> - If the duration is not positive</dd>
</dl>
</section>
</li>
Expand Down

0 comments on commit 9f2027a

Please sign in to comment.