Class VelocityComponentRenderer


  • public final class VelocityComponentRenderer
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static net.kyori.adventure.text.Component prefixed​(@NotNull java.lang.String text)  
      static net.kyori.adventure.text.Component prefixedTranslation​(@NotNull java.lang.String translationKey)  
      static net.kyori.adventure.text.Component prefixedTranslation​(@NotNull java.lang.String translationKey, @Nullable java.util.function.UnaryOperator<java.lang.String> configurator)  
      static net.kyori.adventure.text.Component raw​(@NotNull java.lang.String text)  
      static net.kyori.adventure.text.Component rawTranslation​(@NotNull java.lang.String translationKey)  
      static net.kyori.adventure.text.Component rawTranslation​(@NotNull java.lang.String translationKey, @Nullable java.util.function.UnaryOperator<java.lang.String> configurator)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • prefixed

        public static net.kyori.adventure.text.Component prefixed​(@NotNull
                                                                  @NotNull java.lang.String text)
      • prefixedTranslation

        public static net.kyori.adventure.text.Component prefixedTranslation​(@NotNull
                                                                             @NotNull java.lang.String translationKey)
      • prefixedTranslation

        public static net.kyori.adventure.text.Component prefixedTranslation​(@NotNull
                                                                             @NotNull java.lang.String translationKey,
                                                                             @Nullable
                                                                             @Nullable java.util.function.UnaryOperator<java.lang.String> configurator)
      • rawTranslation

        public static net.kyori.adventure.text.Component rawTranslation​(@NotNull
                                                                        @NotNull java.lang.String translationKey)
      • rawTranslation

        public static net.kyori.adventure.text.Component rawTranslation​(@NotNull
                                                                        @NotNull java.lang.String translationKey,
                                                                        @Nullable
                                                                        @Nullable java.util.function.UnaryOperator<java.lang.String> configurator)
      • raw

        public static net.kyori.adventure.text.Component raw​(@NotNull
                                                             @NotNull java.lang.String text)