Class ComponentBuilder
java.lang.Object
fr.multimc.api.commons.tools.messages.components.ComponentBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionComponentBuilder
(@NotNull net.kyori.adventure.text.Component component) ComponentBuilder
(@Nullable String text) -
Method Summary
-
Constructor Details
-
ComponentBuilder
public ComponentBuilder() -
ComponentBuilder
public ComponentBuilder(@NotNull @NotNull net.kyori.adventure.text.Component component) -
ComponentBuilder
-
-
Method Details
-
hover
public ComponentBuilder hover(@NotNull @NotNull net.kyori.adventure.text.event.HoverEventSource<?> event) -
click
-
extra
-
build
public net.kyori.adventure.text.Component build()
-