Class ComponentBuilder

java.lang.Object
fr.multimc.api.commons.tools.messages.components.ComponentBuilder

public class ComponentBuilder extends Object
  • Constructor Details

    • ComponentBuilder

      public ComponentBuilder()
    • ComponentBuilder

      public ComponentBuilder(@NotNull @NotNull net.kyori.adventure.text.Component component)
    • ComponentBuilder

      public ComponentBuilder(@Nullable @Nullable String text)
  • Method Details

    • hover

      public ComponentBuilder hover(@NotNull @NotNull net.kyori.adventure.text.event.HoverEventSource<?> event)
    • click

      public ComponentBuilder click(@NotNull @NotNull net.kyori.adventure.text.event.ClickEvent event)
    • extra

      public ComponentBuilder extra(@NotNull @NotNull net.kyori.adventure.text.Component component)
    • build

      public net.kyori.adventure.text.Component build()