Class ComponentUtils

java.lang.Object
me.lokka30.levelledmobs.nametag.ComponentUtils

public class ComponentUtils extends Object
  • Constructor Details

    • ComponentUtils

      public ComponentUtils()
  • Method Details

    • appendComponents

      public static void appendComponents(@NotNull @NotNull Object component, @Nullable @Nullable Object appendingComponent)
    • getEmptyComponent

      @NotNull public static @NotNull Object getEmptyComponent()
    • getTextComponent

      @Nullable public static @Nullable Object getTextComponent(@Nullable @Nullable String text)
    • getTranslatableComponent

      @Nullable public static @Nullable Object getTranslatableComponent(@NotNull @NotNull String key)
    • getTranslatableComponent

      @Nullable public static @Nullable Object getTranslatableComponent(@NotNull @NotNull String key, @Nullable @Nullable Object... args)