Java Code Examples for net.kyori.text.format.TextColor#LIGHT_PURPLE
The following examples show how to use
net.kyori.text.format.TextColor#LIGHT_PURPLE .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: GDActiveFlagData.java From GriefDefender with MIT License | 6 votes |
public TextColor getColor() { if (this.type == Type.CLAIM) { return TextColor.YELLOW; } if (this.type == Type.CLAIM_PARENT_INHERIT) { return TextColor.AQUA; } if (this.type == Type.OVERRIDE) { return TextColor.RED; } if (this.type == Type.OWNER_OVERRIDE_PARENT_INHERIT) { return TextColor.DARK_RED; } if (this.type == Type.DEFAULT) { return TextColor.LIGHT_PURPLE; } return TextColor.GRAY; }
Example 2
Source File: GDActiveFlagData.java From GriefDefender with MIT License | 6 votes |
public TextColor getColor() { if (this.type == Type.CLAIM) { return TextColor.YELLOW; } if (this.type == Type.CLAIM_PARENT_INHERIT) { return TextColor.AQUA; } if (this.type == Type.OVERRIDE) { return TextColor.RED; } if (this.type == Type.OWNER_OVERRIDE_PARENT_INHERIT) { return TextColor.DARK_RED; } if (this.type == Type.DEFAULT) { return TextColor.LIGHT_PURPLE; } return TextColor.GRAY; }
Example 3
Source File: UIHelper.java From GriefDefender with MIT License | 5 votes |
public static TextColor getPermissionMenuTypeColor(MenuType type) { TextColor color = TextColor.LIGHT_PURPLE; if (type == MenuType.DEFAULT) { color = TextColor.LIGHT_PURPLE; } else if (type == MenuType.CLAIM) { color = TextColor.GOLD; } else if (type == MenuType.INHERIT) { color = TextColor.AQUA; } else { color = TextColor.RED; } return color; }
Example 4
Source File: CommandHelper.java From GriefDefender with MIT License | 5 votes |
public static TextColor getPermissionMenuTypeColor(MenuType type) { TextColor color = TextColor.LIGHT_PURPLE; if (type == MenuType.CLAIM) { color = TextColor.GOLD; } else if (type == MenuType.OVERRIDE) { color = TextColor.RED; } return color; }
Example 5
Source File: UIHelper.java From GriefDefender with MIT License | 5 votes |
public static TextColor getPermissionMenuTypeColor(MenuType type) { TextColor color = TextColor.LIGHT_PURPLE; if (type == MenuType.DEFAULT) { color = TextColor.LIGHT_PURPLE; } else if (type == MenuType.CLAIM) { color = TextColor.GOLD; } else if (type == MenuType.INHERIT) { color = TextColor.AQUA; } else { color = TextColor.RED; } return color; }
Example 6
Source File: CommandHelper.java From GriefDefender with MIT License | 5 votes |
public static TextColor getPermissionMenuTypeColor(MenuType type) { TextColor color = TextColor.LIGHT_PURPLE; if (type == MenuType.CLAIM) { color = TextColor.GOLD; } else if (type == MenuType.OVERRIDE) { color = TextColor.RED; } return color; }