Class IntelligentItemColor

java.lang.Object
io.github.rysefoxx.inventory.plugin.content.IntelligentItemColor

public class IntelligentItemColor extends Object
Since:
4/12/2022
  • Method Details

    • builder

      @Contract(" -> new") @NotNull public static @NotNull IntelligentItemColor.Builder builder()
    • getColor

      @Internal @NotNull public net.md_5.bungee.api.ChatColor getColor()
      If the color is already set, return it. If it's not set, try to get it from the color wrapper. If the color wrapper is null, throw an exception
      Returns:
      The color of the text.
    • isBold

      public boolean isBold()
      Returns:
      true if the color is bold
    • isUnderline

      public boolean isUnderline()
      Returns:
      true if the color is underlined
    • isItalic

      public boolean isItalic()
      Returns:
      true if the color is italic
    • isObfuscated

      public boolean isObfuscated()
      Returns:
      true if the color is obfuscated
    • isStrikeThrough

      public boolean isStrikeThrough()
      Returns:
      true if the color is striked through