Interface AdventureTextBody<T extends AdventureTextBody<T>>
- Type Parameters:
T- the type of the body, for method chaining
- All Superinterfaces:
AdventureSupport,io.github.projectunified.unidialog.core.body.TextBody<T>
public interface AdventureTextBody<T extends AdventureTextBody<T>>
extends io.github.projectunified.unidialog.core.body.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, getComponentDeserializerMethods inherited from interface io.github.projectunified.unidialog.core.body.TextBody
width
-
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
- Specified by:
textin interfaceio.github.projectunified.unidialog.core.body.TextBody<T extends AdventureTextBody<T>>
-