aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/gui
diff options
context:
space:
mode:
authormiozune <miozune@gmail.com>2023-05-28 18:21:42 +0900
committerGitHub <noreply@github.com>2023-05-28 11:21:42 +0200
commit9af741164c5b59c4d884aba48ebeab7db5442d63 (patch)
tree5bbbbb5feb67db85aefd5f21fd885a1a0ab71c78 /src/main/java/gregtech/api/gui
parent24ad01683a084bebd26152b803ee19bffe78213c (diff)
downloadGT5-Unofficial-9af741164c5b59c4d884aba48ebeab7db5442d63.tar.gz
GT5-Unofficial-9af741164c5b59c4d884aba48ebeab7db5442d63.tar.bz2
GT5-Unofficial-9af741164c5b59c4d884aba48ebeab7db5442d63.zip
Add new mode for void protection & implement it for more multis (#2024)
* Void protection improvements * Rename methods: isXXXButtonEnabled -> supportsXXX * Adjust texture for forbidden * Add MultiBlockFeatureSupportDumpers * Fix oversight in PCBFactory * Revert void protection support for PA * Rename class: ControllerWithButtons -> ControllerWithOptionalFeatures
Diffstat (limited to 'src/main/java/gregtech/api/gui')
-rw-r--r--src/main/java/gregtech/api/gui/modularui/GT_UITextures.java28
1 files changed, 16 insertions, 12 deletions
diff --git a/src/main/java/gregtech/api/gui/modularui/GT_UITextures.java b/src/main/java/gregtech/api/gui/modularui/GT_UITextures.java
index e8c9f192a6..8dda90a630 100644
--- a/src/main/java/gregtech/api/gui/modularui/GT_UITextures.java
+++ b/src/main/java/gregtech/api/gui/modularui/GT_UITextures.java
@@ -220,6 +220,8 @@ public class GT_UITextures {
public static final UITexture BUTTON_STANDARD = AdaptableUITexture
.of(GregTech.ID, "gui/button/standard", 18, 18, 1);
+ public static final UITexture BUTTON_STANDARD_PRESSED = AdaptableUITexture
+ .of(GregTech.ID, "gui/button/standard_pressed", 18, 18, 1);
public static final UITexture BUTTON_STANDARD_DISABLED = AdaptableUITexture
.of(GregTech.ID, "gui/button/standard_disabled", 18, 18, 1);
public static final UITexture BUTTON_STANDARD_TOGGLE = AdaptableUITexture
@@ -242,14 +244,14 @@ public class GT_UITextures {
.fullImage(GregTech.ID, "gui/overlay_button/power_switch_on");
public static final UITexture OVERLAY_BUTTON_POWER_SWITCH_OFF = UITexture
.fullImage(GregTech.ID, "gui/overlay_button/power_switch_off");
- public static final UITexture OVERLAY_BUTTON_VOID_EXCESS_ON = UITexture
- .fullImage(GregTech.ID, "gui/overlay_button/void_excess_on");
- public static final UITexture OVERLAY_BUTTON_VOID_EXCESS_ON_DISABLED = UITexture
- .fullImage(GregTech.ID, "gui/overlay_button/void_excess_on_disabled");
- public static final UITexture OVERLAY_BUTTON_VOID_EXCESS_OFF = UITexture
- .fullImage(GregTech.ID, "gui/overlay_button/void_excess_off");
- public static final UITexture OVERLAY_BUTTON_VOID_EXCESS_OFF_DISABLED = UITexture
- .fullImage(GregTech.ID, "gui/overlay_button/void_excess_off_disabled");
+ public static final UITexture OVERLAY_BUTTON_VOID_EXCESS_NONE = UITexture
+ .fullImage(GregTech.ID, "gui/overlay_button/void_excess_none");
+ public static final UITexture OVERLAY_BUTTON_VOID_EXCESS_ITEM = UITexture
+ .fullImage(GregTech.ID, "gui/overlay_button/void_excess_item");
+ public static final UITexture OVERLAY_BUTTON_VOID_EXCESS_FLUID = UITexture
+ .fullImage(GregTech.ID, "gui/overlay_button/void_excess_fluid");
+ public static final UITexture OVERLAY_BUTTON_VOID_EXCESS_ALL = UITexture
+ .fullImage(GregTech.ID, "gui/overlay_button/void_excess_all");
public static final UITexture OVERLAY_BUTTON_INPUT_SEPARATION_ON = UITexture
.fullImage(GregTech.ID, "gui/overlay_button/input_separation_on");
public static final UITexture OVERLAY_BUTTON_INPUT_SEPARATION_ON_DISABLED = UITexture
@@ -274,6 +276,8 @@ public class GT_UITextures {
.fullImage(GregTech.ID, "gui/overlay_button/batch_mode_off");
public static final UITexture OVERLAY_BUTTON_BATCH_MODE_OFF_DISABLED = UITexture
.fullImage(GregTech.ID, "gui/overlay_button/batch_mode_off_disabled");
+ public static final UITexture OVERLAY_BUTTON_FORBIDDEN = UITexture
+ .fullImage(GregTech.ID, "gui/overlay_button/forbidden");
public static final UITexture OVERLAY_BUTTON_DOWN_TIERING_ON = UITexture
.fullImage(GregTech.ID, "gui/overlay_button/down_tiering_on");
public static final UITexture OVERLAY_BUTTON_DOWN_TIERING_OFF = UITexture
@@ -342,10 +346,10 @@ public class GT_UITextures {
public static final UITexture OVERLAY_BUTTON_LOCK = UITexture.fullImage(GregTech.ID, "gui/overlay_button/lock");
public static final UITexture OVERLAY_BUTTON_INPUT_FROM_OUTPUT_SIDE = UITexture
.fullImage(GregTech.ID, "gui/overlay_button/input_from_output_side");
- public static final UITexture OVERLAY_BUTTON_VOID_EXCESS = UITexture
- .fullImage(GregTech.ID, "gui/overlay_button/void_excess");
- public static final UITexture OVERLAY_BUTTON_VOID_ALL = UITexture
- .fullImage(GregTech.ID, "gui/overlay_button/void_all");
+ public static final UITexture OVERLAY_BUTTON_TANK_VOID_EXCESS = UITexture
+ .fullImage(GregTech.ID, "gui/overlay_button/tank_void_excess");
+ public static final UITexture OVERLAY_BUTTON_TANK_VOID_ALL = UITexture
+ .fullImage(GregTech.ID, "gui/overlay_button/tank_void_all");
public static final UITexture OVERLAY_BUTTON_NEI = UITexture.fullImage(GregTech.ID, "gui/overlay_button/nei");
/**