aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/util/Util.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/makamys/neodymium/util/Util.java')
-rw-r--r--src/main/java/makamys/neodymium/util/Util.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/makamys/neodymium/util/Util.java b/src/main/java/makamys/neodymium/util/Util.java
index 89ab1ea..cd43358 100644
--- a/src/main/java/makamys/neodymium/util/Util.java
+++ b/src/main/java/makamys/neodymium/util/Util.java
@@ -106,4 +106,8 @@ public class Util {
e.printStackTrace();
}
}
+
+ public static int createBrightness(int sky, int block) {
+ return sky << 20 | block << 4;
+ }
}