Interface TextBody<T extends TextBody<T>>
- Type Parameters:
T
- the type of text body for method chaining
- All Known Subinterfaces:
AdventureTextBody<T>
- All Known Implementing Classes:
PaperTextBody
,PETextBody
,SpigotTextBody
public interface TextBody<T extends TextBody<T>>
Interface for building text bodies in a dialog.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
DEFAULT_WIDTH
static final int DEFAULT_WIDTH- See Also:
-
-
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
-
width
Set the width of the text body- Parameters:
width
- the width to set- Returns:
- the instance of the text body for method chaining
-