Interface Caption
- All Known Subinterfaces:
NamespacedCaption
- All Known Implementing Classes:
CommandCategory,StaticCaption,TranslatableCaption
public interface Caption
Any message that can be sent to a player, the console, etc.
-
Method Summary
Modifier and TypeMethodDescriptiongetComponent(@NonNull LocaleHolder localeHolder) Get the message that should be sent to the recipienttoComponent(@NonNull LocaleHolder localeHolder) Get the AdventureComponentLikefor this caption
-
Method Details
-
getComponent
Get the message that should be sent to the recipient- Parameters:
localeHolder- Locale holder- Returns:
- Message
-
toComponent
Get the AdventureComponentLikefor this caption- Parameters:
localeHolder- Locale holder- Returns:
ComponentLike- Since:
- 7.0.0
-