Class TooltipBuilder
java.lang.Object
io.github.cottonmc.cotton.gui.widget.TooltipBuilder
A builder for widget tooltips.
- Since:
- 3.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(OrderedText... lines) Adds the lines to this builder.Adds the lines to this builder.
-
Constructor Details
-
TooltipBuilder
public TooltipBuilder()
-
-
Method Details
-
add
Adds the lines to this builder.- Parameters:
lines
- the lines- Returns:
- this builder
-
add
Adds the lines to this builder.- Parameters:
lines
- the lines- Returns:
- this builder
-