-
public final class ScoreComponentBuilder extends ComponentBuilder
-
-
Field Summary
Fields Modifier and Type Field Description private Colorcolorprivate Stringinsertionprivate ClickEventclickEventprivate HoverEventhoverEvent
-
Constructor Summary
Constructors Constructor Description ScoreComponentBuilder(Score score)
-
Method Summary
Modifier and Type Method Description final ScoreComponentbuild()final ColorgetColor()final StringgetInsertion()final ClickEventgetClickEvent()final HoverEventgetHoverEvent()final UnitsetColor(Color color)final UnitsetInsertion(String insertion)final UnitsetClickEvent(ClickEvent clickEvent)final UnitsetHoverEvent(HoverEvent hoverEvent)-
Methods inherited from class me.bardy.komponent.dsl.ScoreComponentBuilder
formatting, keybind, score, text, translation -
Methods inherited from class me.bardy.komponent.dsl.ComponentBuilder
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ScoreComponentBuilder
ScoreComponentBuilder(Score score)
-
-
Method Detail
-
build
final ScoreComponent build()
-
getInsertion
final String getInsertion()
-
getClickEvent
final ClickEvent getClickEvent()
-
getHoverEvent
final HoverEvent getHoverEvent()
-
setInsertion
final Unit setInsertion(String insertion)
-
setClickEvent
final Unit setClickEvent(ClickEvent clickEvent)
-
setHoverEvent
final Unit setHoverEvent(HoverEvent hoverEvent)
-
-
-
-