Update indra to v4

This commit is contained in:
Jason Penilla committed 2025-10-20 09:31:21 -07:00
1 parent 3b276e82f5
commit 787d91ecad
6 files changed
+10 -7

No files matched your search

@@ -30,8 +30,10 @@ import org.checkerframework.framework.qual.DefaultQualifier;
* The {@link CarbonChat} interface is the gateway to interacting with the majority of the CarbonChat API.
*
* <p>Instances may be obtained through {@link CarbonChatProvider#carbonChat()} once Carbon is loaded.</p>
*
* <p>On most platforms, you should use the provided load order mechanism to ensure your addon loads after
* Carbon.</p>
*
* <p>On Fabric, use the {@code carbonchat} entrypoint (type: {@code Consumer<CarbonChat>}) to have a callback
* when Carbon is loaded.</p>
*
@@ -110,6 +110,7 @@ public interface CarbonPlayer extends Audience, Identified {
* Sets the player's nickname.
*
* <p>Setting {@code null} will remove any current nickname.</p>
*
* <p>Won't have any visible effect when Carbon's nickname management is disabled.</p>
*
* @param nickname the new nickname
@@ -51,6 +51,7 @@ public interface UserManager<C extends CarbonPlayer> {
* Create a new {@link Party} with the specified name.
*
* <p>Parties with no users will not be saved. Use {@link Party#disband()} to discard.</p>
*
* <p>The returned reference will expire after one minute, store {@link Party#id()} rather than the instance and use {@link #party(UUID)} to retrieve.</p>
*
* @param name party name
@@ -63,6 +64,7 @@ public interface UserManager<C extends CarbonPlayer> {
* Look up an existing party by its id.
*
* <p>As parties that have never had a user are not saved, they are not retrievable here.</p>
*
* <p>The returned reference will expire after one minute, do not cache it. The implementation handles caching as is appropriate.</p>
*
* @param id party id