java.lang.Object
io.github.miniplaceholders.api.utils.TagsUtils

public final class TagsUtils extends Object
Tags utils
  • Field Details

    • EMPTY_TAG

      public static final Tag EMPTY_TAG
      Empty Tag
      Since:
      1.0.0
    • NULL_TAG

      public static final Tag NULL_TAG
      Null Tag
      Since:
      1.1.0
    • NULL_AUDIENCE_PLACEHOLDER

      public static final AudiencePlaceholder NULL_AUDIENCE_PLACEHOLDER
      An Audience placeholder that returns a null Tag
      Since:
      1.1.0
    • NULL_RELATIONAL_PLACEHOLDER

      public static final RelationalPlaceholder NULL_RELATIONAL_PLACEHOLDER
      A Relational placeholder that returns a null tag
      Since:
      1.1.0
  • Method Details

    • staticTag

      @Deprecated @NotNull public static @NotNull Tag staticTag(@NotNull @NotNull String string)
      Deprecated.
      Creates a new Tag based on a String
      Parameters:
      string - the string
      Returns:
      a new basic self closing Tag of a string
      Since:
      1.1.0
    • staticTag

      @Deprecated @NotNull public static @NotNull Tag staticTag(@NotNull @NotNull Component component)
      Deprecated.
      Creates a new basic Tag based on a Component
      Parameters:
      component - the component
      Returns:
      a new basic self closing Tag of a component
      Since:
      1.1.0