Skip to content

Commit

Permalink
ChatColor meta
Browse files Browse the repository at this point in the history
  • Loading branch information
Morphan1 committed Oct 21, 2013
1 parent 7572f06 commit 396e5e2
Showing 1 changed file with 153 additions and 1 deletion.
154 changes: 153 additions & 1 deletion src/main/java/net/aufdemrand/denizen/tags/core/TextTags.java
Expand Up @@ -81,7 +81,159 @@ else if (event.getName().equals("&Uuml"))
final String[] code = {"0","1","2","3","4","5","6","7","8","9"
,"a","b","c","d","e","f","k","l","m","n","o","r"};

// TODO: Meta for all of these! All of them!
// <--[tag]
// @attribute <&0>
// @returns ChatColor
// @description
// Makes the following characters Black.
// -->

// <--[tag]
// @attribute <&1>
// @returns ChatColor
// @description
// Makes the following characters Dark Blue.
// -->

// <--[tag]
// @attribute <&2>
// @returns ChatColor
// @description
// Makes the following characters Dark Green.
// -->

// <--[tag]
// @attribute <&3>
// @returns ChatColor
// @description
// Makes the following characters Dark Aqua.
// -->

// <--[tag]
// @attribute <&4>
// @returns ChatColor
// @description
// Makes the following characters Dark Red.
// -->

// <--[tag]
// @attribute <&5>
// @returns ChatColor
// @description
// Makes the following characters Dark Purple.
// -->

// <--[tag]
// @attribute <&6>
// @returns ChatColor
// @description
// Makes the following characters Gold.
// -->

// <--[tag]
// @attribute <&7>
// @returns ChatColor
// @description
// Makes the following characters Gray.
// -->

// <--[tag]
// @attribute <&8>
// @returns ChatColor
// @description
// Makes the following characters Dark Gray.
// -->

// <--[tag]
// @attribute <&9>
// @returns ChatColor
// @description
// Makes the following characters Blue.
// -->

// <--[tag]
// @attribute <&a>
// @returns ChatColor
// @description
// Makes the following characters Green.
// -->

// <--[tag]
// @attribute <&b>
// @returns ChatColor
// @description
// Makes the following characters Aqua.
// -->

// <--[tag]
// @attribute <&c>
// @returns ChatColor
// @description
// Makes the following characters Red.
// -->

// <--[tag]
// @attribute <&d>
// @returns ChatColor
// @description
// Makes the following characters Light Purple.
// -->

// <--[tag]
// @attribute <&e>
// @returns ChatColor
// @description
// Makes the following characters Yellow.
// -->

// <--[tag]
// @attribute <&f>
// @returns ChatColor
// @description
// Makes the following characters White.
// -->

// <--[tag]
// @attribute <&k>
// @returns ChatColor
// @description
// Makes the following characters obfuscated.
// -->

// <--[tag]
// @attribute <&l>
// @returns ChatColor
// @description
// Makes the following characters bolded.
// -->

// <--[tag]
// @attribute <&m>
// @returns ChatColor
// @description
// Makes the following characters strikethroughed.
// -->

// <--[tag]
// @attribute <&n>
// @returns ChatColor
// @description
// Makes the following characters underlined.
// -->

// <--[tag]
// @attribute <&o>
// @returns ChatColor
// @description
// Makes the following characters italicized.
// -->

// <--[tag]
// @attribute <&r>
// @returns ChatColor
// @description
// Resets the following characters to normal.
// -->

@EventHandler
public void colorTags(ReplaceableTagEvent event) {
Expand Down

0 comments on commit 396e5e2

Please sign in to comment.