From af7f7c35748d293b18e1bbaf67db7a2d2ea55324 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Thu, 4 Mar 2021 10:26:17 +0100 Subject: [PATCH 1/3] Add mcl_colors --- mods/CORE/mcl_colors/init.lua | 36 +++++++++++++++++++++++++++++++++++ mods/CORE/mcl_colors/mod.conf | 3 +++ 2 files changed, 39 insertions(+) create mode 100644 mods/CORE/mcl_colors/init.lua create mode 100644 mods/CORE/mcl_colors/mod.conf diff --git a/mods/CORE/mcl_colors/init.lua b/mods/CORE/mcl_colors/init.lua new file mode 100644 index 00000000..e88f91d9 --- /dev/null +++ b/mods/CORE/mcl_colors/init.lua @@ -0,0 +1,36 @@ +mcl_colors = { + BLACK = "#000000", + DARK_BLUE = "#0000AA", + DARK_GREEN = "#00AA00", + DARK_AQUA = "#00AAAA", + DARK_RED = "#AA0000", + DARK_PURPLE = "#AA00AA", + GOLD = "#FFAA00", + GRAY = "#AAAAAA", + DARK_GRAY = "#555555", + BLUE = "#5555FF", + GREEN = "#55FF55", + AQUA = "#55FFFF", + RED = "#FF5555", + LIGHT_PURPLE = "#FF55FF", + YELLOW = "#FFFF55", + WHITE = "#FFFFFF", + background = { + BLACK = "#000000", + DARK_BLUE = "#00002A", + DARK_GREEN = "#002A00", + DARK_AQUA = "#002A2A", + DARK_RED = "#2A0000", + DARK_PURPLE = "#2A002A", + GOLD = "#2A2A00", + GRAY = "#2A2A2A", + DARK_GRAY = "#151515", + BLUE = "#15153F", + GREEN = "#153F15", + AQUA = "#153F3F", + RED = "#3F1515", + LIGHT_PURPLE = "#3F153F", + YELLOW = "#3F3F15", + WHITE = "#373501", + } +} diff --git a/mods/CORE/mcl_colors/mod.conf b/mods/CORE/mcl_colors/mod.conf new file mode 100644 index 00000000..549d9435 --- /dev/null +++ b/mods/CORE/mcl_colors/mod.conf @@ -0,0 +1,3 @@ +name = mcl_colors +author = Fleckenstein +description = The HTML sequences for the minecraft colors From 3473f55136c522f88d1fcf92d02e01b52f6fc93f Mon Sep 17 00:00:00 2001 From: AFCMS Date: Sun, 28 Mar 2021 00:48:24 +0100 Subject: [PATCH 2/3] Add API documentation to mcl_colors --- mods/CORE/mcl_colors/API.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 mods/CORE/mcl_colors/API.md diff --git a/mods/CORE/mcl_colors/API.md b/mods/CORE/mcl_colors/API.md new file mode 100644 index 00000000..71cad335 --- /dev/null +++ b/mods/CORE/mcl_colors/API.md @@ -0,0 +1,8 @@ +# mcl_colors +Mod providing global table containing legacity minecraft colors to be used in mods. + +## mcl_colors.* +Colors by upper name, in hex value. + +## mcl_colors.background.* +Background colors by upper name, in hex value. From 6bd4b0e62c703f4e5a599e3bf8df9201aa7deae0 Mon Sep 17 00:00:00 2001 From: Nils Dagsson Moskopp Date: Thu, 18 Nov 2021 19:23:57 +0100 Subject: [PATCH 3/3] Fix typo in mcl_colors API documentation --- mods/CORE/mcl_colors/API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/CORE/mcl_colors/API.md b/mods/CORE/mcl_colors/API.md index 71cad335..d3666b2b 100644 --- a/mods/CORE/mcl_colors/API.md +++ b/mods/CORE/mcl_colors/API.md @@ -1,5 +1,5 @@ # mcl_colors -Mod providing global table containing legacity minecraft colors to be used in mods. +Mod providing global table containing legacy minecraft colors to be used in mods. ## mcl_colors.* Colors by upper name, in hex value.