aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api
diff options
context:
space:
mode:
authorMuXiu1997 <MuXiu1997@Gmail.com>2022-04-19 17:17:55 +0800
committerGitHub <noreply@github.com>2022-04-19 11:17:55 +0200
commitee404665ca4ce4a759d235bc7bac9777dd6697eb (patch)
tree234a6aa7f9818d5c3ad9457acf8e341226d5dae0 /src/main/java/gregtech/api
parent44a1027dfa51af1864364c391e67686590ce347f (diff)
downloadGT5-Unofficial-ee404665ca4ce4a759d235bc7bac9777dd6697eb.tar.gz
GT5-Unofficial-ee404665ca4ce4a759d235bc7bac9777dd6697eb.tar.bz2
GT5-Unofficial-ee404665ca4ce4a759d235bc7bac9777dd6697eb.zip
Add Threshold to Energy Detector Cover (#1025)
* Add Threshold to Energy Detector Cover * Fix things * Refactor
Diffstat (limited to 'src/main/java/gregtech/api')
-rw-r--r--src/main/java/gregtech/api/gui/widgets/GT_GuiIcon.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/java/gregtech/api/gui/widgets/GT_GuiIcon.java b/src/main/java/gregtech/api/gui/widgets/GT_GuiIcon.java
index 92fda43f1f..0d6c2da243 100644
--- a/src/main/java/gregtech/api/gui/widgets/GT_GuiIcon.java
+++ b/src/main/java/gregtech/api/gui/widgets/GT_GuiIcon.java
@@ -29,10 +29,11 @@ public enum GT_GuiIcon implements IGuiIcon{
BLOCK_INPUT (0, 32*3, 32*2),
GREEN_ARROW_UP (0, 32*4, 32*2),
GREEN_ARROW_DOWN (0, 32*5, 32*2),
+ CYCLIC (0, 32*6, 32*2),
SLOT_DARKGRAY (1, 176,0,18,18),
SLOT_GRAY (1, 176,18,18,18),
-
+
TAB_NORMAL (2, 0, 0,18,20),
TAB_HIGHLIGHT (2, 18, 0,18,20),
TAB_DISABLED (2, 18*2, 0,18,20),
@@ -48,7 +49,7 @@ public enum GT_GuiIcon implements IGuiIcon{
TAB_INFO_GRAY (2, 220, 0,18,20),
TAB_INFO_BLUE (2,220+18, 0,18,20),
;
-
+
private static final int T_SIZE = 256;
private static ResourceLocation[] TEXTURES = {
@@ -79,7 +80,7 @@ public enum GT_GuiIcon implements IGuiIcon{
public static void render(IGuiIcon icon, double x, double y, double width, double height, double zLevel,
boolean doDraw) {
render(icon, x, y, width, height, zLevel, doDraw, false);
- }
+ }
public static void render(IGuiIcon icon, double x, double y, double width, double height, double zLevel,
boolean doDraw, boolean flipHoritontally) {
@@ -107,7 +108,7 @@ public enum GT_GuiIcon implements IGuiIcon{
/**
* This is intended to enable addon mods to register additional textures. They can then add to this enum using
* EnumHelper.addEnum or by creating your their enum that implements IGuiIcon (still requires adding a texture here)
- *
+ *
* @param location
*/
public static void addTextures(ResourceLocation... location) {