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-jd[bot] committed May 29, 2024
1 parent 27c1b75 commit 95739f1
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 9 deletions.
4 changes: 4 additions & 0 deletions spongeapi/11.0.0-SNAPSHOT/index-all.html
Original file line number Diff line number Diff line change
Expand Up @@ -40867,6 +40867,10 @@ <h2 class="title" id="I:S">S</h2>
<dd>
<div class="block">Sets the readonly mode for this menu.</div>
</dd>
<dt><a href="org/spongepowered/api/item/inventory/menu/InventoryMenu.html#setReadOnly(org.spongepowered.api.item.inventory.Slot,boolean)" class="member-name-link">setReadOnly(Slot, boolean)</a> - Method in interface org.spongepowered.api.item.inventory.menu.<a href="org/spongepowered/api/item/inventory/menu/InventoryMenu.html" title="interface in org.spongepowered.api.item.inventory.menu">InventoryMenu</a></dt>
<dd>
<div class="block">Sets the <a href="org/spongepowered/api/item/inventory/Slot.html" title="interface in org.spongepowered.api.item.inventory"><code>Slot</code></a> readonly mode for this menu.</div>
</dd>
<dt><a href="org/spongepowered/api/event/item/inventory/UseItemStackEvent.html#setRemainingDuration(org.spongepowered.api.util.Ticks)" class="member-name-link">setRemainingDuration(Ticks)</a> - Method in interface org.spongepowered.api.event.item.inventory.<a href="org/spongepowered/api/event/item/inventory/UseItemStackEvent.html" title="interface in org.spongepowered.api.event.item.inventory">UseItemStackEvent</a></dt>
<dd>
<div class="block">Sets the remaining duration of <a href="org/spongepowered/api/item/inventory/ItemStack.html" title="interface in org.spongepowered.api.item.inventory"><code>ItemStack</code></a> in use.</div>
Expand Down
2 changes: 1 addition & 1 deletion spongeapi/11.0.0-SNAPSHOT/member-search-index.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -160,19 +160,25 @@ <h2>Method Summary</h2>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the readonly mode for this menu.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setTitle(net.kyori.adventure.text.Component)" class="member-name-link">setTitle</a><wbr>(<a href="https://jd.advntr.dev/api/4.17.0/net/kyori/adventure/text/Component.html" title="class or interface in net.kyori.adventure.text" class="external-link">Component</a>&nbsp;title)</code></div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="InventoryMenu.html" title="interface in org.spongepowered.api.item.inventory.menu">InventoryMenu</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setReadOnly(org.spongepowered.api.item.inventory.Slot,boolean)" class="member-name-link">setReadOnly</a><wbr>(<a href="../Slot.html" title="interface in org.spongepowered.api.item.inventory">Slot</a>&nbsp;slot,
boolean&nbsp;readOnly)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the title of this menu.</div>
<div class="block">Sets the <a href="../Slot.html" title="interface in org.spongepowered.api.item.inventory"><code>Slot</code></a> readonly mode for this menu.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Optional.html" title="class or interface in java.util" class="external-link">Optional</a><wbr>&lt;<a href="https://jd.advntr.dev/api/4.17.0/net/kyori/adventure/text/Component.html" title="class or interface in net.kyori.adventure.text" class="external-link">Component</a>&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#title()" class="member-name-link">title</a>()</code></div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setTitle(net.kyori.adventure.text.Component)" class="member-name-link">setTitle</a><wbr>(<a href="https://jd.advntr.dev/api/4.17.0/net/kyori/adventure/text/Component.html" title="class or interface in net.kyori.adventure.text" class="external-link">Component</a>&nbsp;title)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the title of this menu if set.</div>
<div class="block">Sets the title of this menu.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#unregisterAll()" class="member-name-link">unregisterAll</a>()</code></div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Optional.html" title="class or interface in java.util" class="external-link">Optional</a><wbr>&lt;<a href="https://jd.advntr.dev/api/4.17.0/net/kyori/adventure/text/Component.html" title="class or interface in net.kyori.adventure.text" class="external-link">Component</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#title()" class="member-name-link">title</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the title of this menu if set.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#unregisterAll()" class="member-name-link">unregisterAll</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Unregisters all callback handlers.</div>
</div>
</div>
Expand Down Expand Up @@ -343,6 +349,25 @@ <h3>setReadOnly</h3>
</section>
</li>
<li>
<section class="detail" id="setReadOnly(org.spongepowered.api.item.inventory.Slot,boolean)">
<h3>setReadOnly</h3>
<div class="member-signature"><span class="return-type"><a href="InventoryMenu.html" title="interface in org.spongepowered.api.item.inventory.menu">InventoryMenu</a></span>&nbsp;<span class="element-name">setReadOnly</span><wbr><span class="parameters">(<a href="../Slot.html" title="interface in org.spongepowered.api.item.inventory">Slot</a>&nbsp;slot,
boolean&nbsp;readOnly)</span></div>
<div class="block">Sets the <a href="../Slot.html" title="interface in org.spongepowered.api.item.inventory"><code>Slot</code></a> readonly mode for this menu.
By default, uses the menus current readonly mode.
This can be used to override per slot.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>slot</code> - the slot which readonly mode is changed</dd>
<dd><code>readOnly</code> - whether to make the slot readonly or not.</dd>
<dt>Returns:</dt>
<dd>this menu</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></code> - if the slot is not part of the menu</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="open(org.spongepowered.api.entity.living.player.server.ServerPlayer)">
<h3>open</h3>
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Optional.html" title="class or interface in java.util" class="external-link">Optional</a>&lt;<a href="../Container.html" title="interface in org.spongepowered.api.item.inventory">Container</a>&gt;</span>&nbsp;<span class="element-name">open</span><wbr><span class="parameters">(<a href="../../../entity/living/player/server/ServerPlayer.html" title="interface in org.spongepowered.api.entity.living.player.server">ServerPlayer</a>&nbsp;player)</span></div>
Expand Down

0 comments on commit 95739f1

Please sign in to comment.