aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/blocks
diff options
context:
space:
mode:
authormiozune <miozune@gmail.com>2024-08-16 22:26:16 +0900
committerGitHub <noreply@github.com>2024-08-16 22:26:16 +0900
commit83ebeadd3b867f45914972f4573211b3324ca433 (patch)
tree02acdcbb7cda6ee8c72cf7b4f575aa6591373d74 /src/main/java/gregtech/common/blocks
parent07610983b13813893b482e2c1a050355fd007c60 (diff)
downloadGT5-Unofficial-83ebeadd3b867f45914972f4573211b3324ca433.tar.gz
GT5-Unofficial-83ebeadd3b867f45914972f4573211b3324ca433.tar.bz2
GT5-Unofficial-83ebeadd3b867f45914972f4573211b3324ca433.zip
Cleanup (#2904)
* Remove redundant inputSeparation=true call * Remove deprecated MetaTileEntity#isDisplaySecondaryDescription * Always use ModularUI * Remove useModularUI * Remove unused GUI features * Remove IGlobalWirelessEnergy * Remove CommonValues.V & CommonValues.VN * More deprecation cleanup --------- Co-authored-by: boubou19 <miisterunknown@gmail.com>
Diffstat (limited to 'src/main/java/gregtech/common/blocks')
-rw-r--r--src/main/java/gregtech/common/blocks/GT_Block_Casings4.java14
-rw-r--r--src/main/java/gregtech/common/blocks/GT_Block_Casings8.java11
2 files changed, 0 insertions, 25 deletions
diff --git a/src/main/java/gregtech/common/blocks/GT_Block_Casings4.java b/src/main/java/gregtech/common/blocks/GT_Block_Casings4.java
index 49c9c6c992..d5472e9217 100644
--- a/src/main/java/gregtech/common/blocks/GT_Block_Casings4.java
+++ b/src/main/java/gregtech/common/blocks/GT_Block_Casings4.java
@@ -113,20 +113,6 @@ public class GT_Block_Casings4 extends GT_Block_Casings_Abstract {
}
@Deprecated
- public IIcon getTurbineCasing(int meta, int iconIndex, boolean active) {
- return switch (meta) {
- case 10 -> active ? Textures.BlockIcons.TURBINE_ACTIVE1[iconIndex].getIcon()
- : Textures.BlockIcons.TURBINE1[iconIndex].getIcon();
- case 11 -> active ? Textures.BlockIcons.TURBINE_ACTIVE2[iconIndex].getIcon()
- : Textures.BlockIcons.TURBINE2[iconIndex].getIcon();
- case 12 -> active ? Textures.BlockIcons.TURBINE_ACTIVE3[iconIndex].getIcon()
- : Textures.BlockIcons.TURBINE3[iconIndex].getIcon();
- default -> active ? Textures.BlockIcons.TURBINE_ACTIVE[iconIndex].getIcon()
- : Textures.BlockIcons.TURBINE[iconIndex].getIcon();
- };
- }
-
- @Deprecated
public IIcon getTurbineCasing(int meta, int iconIndex, boolean active, boolean hasTurbine) {
return switch (meta) {
case 10 -> active ? Textures.BlockIcons.TURBINE_ACTIVE1[iconIndex].getIcon()
diff --git a/src/main/java/gregtech/common/blocks/GT_Block_Casings8.java b/src/main/java/gregtech/common/blocks/GT_Block_Casings8.java
index fdef0def82..0baeea1411 100644
--- a/src/main/java/gregtech/common/blocks/GT_Block_Casings8.java
+++ b/src/main/java/gregtech/common/blocks/GT_Block_Casings8.java
@@ -100,17 +100,6 @@ public class GT_Block_Casings8 extends GT_Block_Casings_Abstract {
};
}
- @Deprecated
- public IIcon getTurbineCasing(int meta, int iconIndex, boolean active) {
- // noinspection SwitchStatementWithTooFewBranches // "if" is harder to edit
- return switch (meta) {
- case 9 -> active ? Textures.BlockIcons.TURBINE_ADVGASACTIVE[iconIndex].getIcon()
- : Textures.BlockIcons.TURBINEADVGAS[iconIndex].getIcon();
- default -> active ? Textures.BlockIcons.TURBINE_ACTIVE[iconIndex].getIcon()
- : Textures.BlockIcons.TURBINE[iconIndex].getIcon();
- };
- }
-
public IIcon getTurbineCasing(int meta, int iconIndex, boolean active, boolean hasTurbine) {
// noinspection SwitchStatementWithTooFewBranches // "if" is harder to edit
return switch (meta) {