Skip to content

Commit d8d7327

Browse files
devnatanCopilot
andauthored
Update inventory-framework-api/src/main/java/me/devnatan/inventoryframework/context/IFContext.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Natan Vieira <24600258+devnatan@users.noreply.github.com>
1 parent ff57ad3 commit d8d7327

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

  • inventory-framework-api/src/main/java/me/devnatan/inventoryframework/context

inventory-framework-api/src/main/java/me/devnatan/inventoryframework/context/IFContext.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -213,25 +213,25 @@ void performClickInComponent(
213213
void updateTitleForEveryone(@NotNull String title);
214214

215215
/**
216-
* Updates the container title for everyone that's viewing it.
216+
* Experimental: Updates the container title for everyone that's viewing it, supporting additional title types.
217217
*
218-
* <p>This should not be used before the container is opened, if you need to set the __initial
219-
* title__ use {@link IFOpenContext#modifyConfig()} on open handler instead.
218+
* <p>This should not be used before the container is opened. If you need to set the __initial
219+
* title__, use {@link IFOpenContext#modifyConfig()} on open handler instead.
220220
*
221221
* <p>This method is version dependant, so it may be that your server version is not yet
222-
* supported, if you try to use this method and fail (can fail silently), report it to the
223-
* library developers to add support to your version.
222+
* supported. If you try to use this method and it fails (can fail silently), report it to the
223+
* library developers to add support for your version.
224224
* <p>
225225
* <a href="https://github.com/KyoriPowered/adventure">Kyori's Adventure Text Component</a> is supported if your platform is PaperSpigot
226-
* in a non-legacy version. Non-{@link String} titles will be converted to a plain text.
226+
* in a non-legacy version. Non-{@link String} titles will be converted to plain text.
227227
* <p>
228-
* <b><i> This API is experimental and is not subject to the general compatibility guarantees
229-
* such API may be changed or may be removed completely in any further release. </i></b>
228+
* <b><i> This API is experimental and is not subject to the general compatibility guarantees.
229+
* Such API may be changed or may be removed completely in any further release. </i></b>
230230
*
231-
* @param title The new container title.
231+
* @param title The new container title (may be a String or a supported component type).
232232
*/
233233
@ApiStatus.Experimental
234-
void updateTitleForEveryone(@NotNull Object title);
234+
void updateTitleForEveryoneExperimental(@NotNull Object title);
235235

236236
/**
237237
* Updates the container title to all viewers in this context, to the initially defined title.

0 commit comments

Comments
 (0)