aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/blocks
diff options
context:
space:
mode:
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) {