Interface Color

All Superinterfaces:
YggdrasilSerializable, YggdrasilSerializable.YggdrasilExtendedSerializable
All Known Implementing Classes:
ColorRGB, SkriptColor

  • Method Details

    • asBukkitColor

      org.bukkit.Color asBukkitColor()
      Gets Bukkit color representing this color.
      Returns:
      Bukkit color.
    • asDyeColor

      @Nullable @Nullable org.bukkit.DyeColor asDyeColor()
      Gets Bukkit dye color representing this color, if one exists.
      Returns:
      Dye color or null.
    • getName

      String getName()
      Returns:
      Name of the color.