Class TextWidgetBuilder
java.lang.Object
xyz.gmitch215.socketmc.screen.builder.WidgetBuilder<TextWidgetBuilder,TextWidget>
xyz.gmitch215.socketmc.screen.builder.WidgetWithTextBuilder<TextWidgetBuilder,TextWidget>
xyz.gmitch215.socketmc.screen.builder.TextWidgetBuilder
Represents a builder for a
TextWidget
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the widget.static @NotNull TextWidgetBuilder
builder()
Creates a new TextWidgetBuilder.Methods inherited from class xyz.gmitch215.socketmc.screen.builder.WidgetWithTextBuilder
message, message, messageJSON
-
Method Details
-
build
Description copied from class:WidgetBuilder
Builds the widget.- Specified by:
build
in classWidgetBuilder<TextWidgetBuilder,
TextWidget> - Returns:
- The built widget.
-
builder
Creates a new TextWidgetBuilder.- Returns:
TextWidget
Builder
-