Interface AdventureTextBody<T extends AdventureTextBody<T>>
- Type Parameters:
T
- the type of the body, for method chaining
- All Superinterfaces:
AdventureSupport
,TextBody<T>
- All Known Implementing Classes:
PaperTextBody
,PETextBody
public interface AdventureTextBody<T extends AdventureTextBody<T>>
extends TextBody<T>, AdventureSupport
An extension of
TextBody
that provides additional methods for handling Component
text.-
Field Summary
Fields inherited from interface io.github.projectunified.unidialog.core.body.TextBody
DEFAULT_WIDTH
-
Method Summary
Methods inherited from interface io.github.projectunified.unidialog.adventure.support.AdventureSupport
deserialize, getComponentDeserializer
-
Method Details
-
text
Set the text for the body- Parameters:
text
- the text to set- Returns:
- the instance of the text body for method chaining
-
text
Description copied from interface:TextBody
Set the text for the body- Specified by:
text
in interfaceTextBody<T extends AdventureTextBody<T>>
- Parameters:
text
- the text to set- Returns:
- the instance of the text body for method chaining
-