aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/lib
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2019-08-15 03:33:28 +0100
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2019-08-15 03:33:28 +0100
commitb5e6865373c48ce444b5c3e09335ca50945eba8e (patch)
treeeaa8d5ca3397728b849c82f4f479bb884ee14215 /src/Java/gtPlusPlus/core/lib
parentd9fbb08c751858daadb83a8eb11bb4428f5ed1b8 (diff)
downloadGT5-Unofficial-b5e6865373c48ce444b5c3e09335ca50945eba8e.tar.gz
GT5-Unofficial-b5e6865373c48ce444b5c3e09335ca50945eba8e.tar.bz2
GT5-Unofficial-b5e6865373c48ce444b5c3e09335ca50945eba8e.zip
+ Re-added Tiered Machine Covers. (Old ones will be deprecated) Closes #516.
+ Added extra tiered covers. (For use in GTNH mostly) + Added textures and colour coding for Ztones covers. + Localized some cover names.
Diffstat (limited to 'src/Java/gtPlusPlus/core/lib')
-rw-r--r--src/Java/gtPlusPlus/core/lib/VanillaColours.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/core/lib/VanillaColours.java b/src/Java/gtPlusPlus/core/lib/VanillaColours.java
new file mode 100644
index 0000000000..9a7a82cb1f
--- /dev/null
+++ b/src/Java/gtPlusPlus/core/lib/VanillaColours.java
@@ -0,0 +1,28 @@
+package gtPlusPlus.core.lib;
+
+import gtPlusPlus.core.util.Utils;
+
+public enum VanillaColours {
+
+ BONE_MEAL(249, 255, 254), INK_BLACK(29, 29, 33), COCOA_BEANS(131, 84, 50), LAPIS_LAZULI(60, 68, 170),
+ DYE_WHITE(249, 255, 254), DYE_BLACK(29, 29, 33), DYE_RED(176, 46, 38), DYE_GREEN(94, 124, 22),
+ DYE_CYAN(22, 156, 156), DYE_PINK(243, 139, 170), DYE_LIME(128, 199, 31), DYE_YELLOW(254, 216, 61),
+ DYE_ORANGE(249, 128, 29), DYE_BROWN(131, 84, 50), DYE_LIGHT_BLUE(58, 179, 218), DYE_LIGHT_PURPLE(199, 78, 189),
+ DYE_LIGHT_GRAY(157, 157, 151), DYE_DARK_BLUE(60, 68, 170), DYE_DARK_PURPLE(137, 50, 184), DYE_DARK_GRAY(71, 79, 82);
+
+ private final int r, g, b;
+
+ private VanillaColours(int aR, int aG, int aB) {
+ r = aR;
+ g = aG;
+ b = aB;
+ }
+
+ public short[] getAsShort() {
+ return new short[] { (short) r, (short) g, (short) b };
+ }
+
+ public int getAsInt() {
+ return Utils.rgbtoHexValue(r, g, b);
+ }
+}