aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/blocks/GT_Block_Casings6.java
diff options
context:
space:
mode:
authorNotAPenguin <michiel.vandeginste@gmail.com>2024-09-02 23:17:17 +0200
committerGitHub <noreply@github.com>2024-09-02 23:17:17 +0200
commit1b820de08a05070909a267e17f033fcf58ac8710 (patch)
tree02831a025986a06b20f87e5bcc69d1e0c639a342 /src/main/java/gregtech/common/blocks/GT_Block_Casings6.java
parentafd3fd92b6a6ab9ab0d0dc3214e6bc8ff7a86c9b (diff)
downloadGT5-Unofficial-1b820de08a05070909a267e17f033fcf58ac8710.tar.gz
GT5-Unofficial-1b820de08a05070909a267e17f033fcf58ac8710.tar.bz2
GT5-Unofficial-1b820de08a05070909a267e17f033fcf58ac8710.zip
The Great Renaming (#3014)
* move kekztech to a single root dir * move detrav to a single root dir * move gtnh-lanthanides to a single root dir * move tectech and delete some gross reflection in gt++ * remove more reflection inside gt5u * delete more reflection in gt++ * fix imports * move bartworks and bwcrossmod * fix proxies * move galactigreg and ggfab * move gtneioreplugin * try to fix gt++ bee loader * apply the rename rules to BW * apply rename rules to bwcrossmod * apply rename rules to detrav scanner mod * apply rename rules to galacticgreg * apply rename rules to ggfab * apply rename rules to goodgenerator * apply rename rules to gtnh-lanthanides * apply rename rules to gt++ * apply rename rules to kekztech * apply rename rules to kubatech * apply rename rules to tectech * apply rename rules to gt apply the rename rules to gt * fix tt import * fix mui hopefully * fix coremod except intergalactic * rename assline recipe class * fix a class name i stumbled on * rename StructureUtility to GTStructureUtility to prevent conflict with structurelib * temporary rename of GTTooltipDataCache to old name * fix gt client/server proxy names
Diffstat (limited to 'src/main/java/gregtech/common/blocks/GT_Block_Casings6.java')
-rw-r--r--src/main/java/gregtech/common/blocks/GT_Block_Casings6.java94
1 files changed, 0 insertions, 94 deletions
diff --git a/src/main/java/gregtech/common/blocks/GT_Block_Casings6.java b/src/main/java/gregtech/common/blocks/GT_Block_Casings6.java
deleted file mode 100644
index 9bdbf256cc..0000000000
--- a/src/main/java/gregtech/common/blocks/GT_Block_Casings6.java
+++ /dev/null
@@ -1,94 +0,0 @@
-package gregtech.common.blocks;
-
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.IIcon;
-import net.minecraft.world.IBlockAccess;
-
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import gregtech.api.enums.ItemList;
-import gregtech.api.enums.Textures;
-import gregtech.api.util.GT_LanguageManager;
-
-/**
- * The casings are split into separate files because they are registered as regular blocks, and a regular block can have
- * 16 subtypes at most.
- */
-public class GT_Block_Casings6 extends GT_Block_Casings_Abstract {
-
- public GT_Block_Casings6() {
- super(GT_Item_Casings6.class, "gt.blockcasings6", GT_Material_Casings.INSTANCE, 16);
-
- GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".0.name", "Hermetic Casing");
- GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".1.name", "Hermetic Casing I");
- GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".2.name", "Hermetic Casing II");
- GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".3.name", "Hermetic Casing III");
- GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".4.name", "Hermetic Casing IV");
- GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".5.name", "Hermetic Casing V");
- GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".6.name", "Hermetic Casing VI");
- GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".7.name", "Hermetic Casing VII");
- GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".8.name", "Hermetic Casing VIII");
- GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".9.name", "Hermetic Casing IX");
- GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".10.name", "Hermetic Casing X");
- GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".11.name", "Hermetic Casing XI");
- GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".12.name", "Hermetic Casing XII");
- GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".13.name", "Hermetic Casing XIII");
- GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".14.name", "Hermetic Casing XIV");
-
- ItemList.Casing_Tank_0.set(new ItemStack(this, 1, 0));
- ItemList.Casing_Tank_1.set(new ItemStack(this, 1, 1));
- ItemList.Casing_Tank_2.set(new ItemStack(this, 1, 2));
- ItemList.Casing_Tank_3.set(new ItemStack(this, 1, 3));
- ItemList.Casing_Tank_4.set(new ItemStack(this, 1, 4));
- ItemList.Casing_Tank_5.set(new ItemStack(this, 1, 5));
- ItemList.Casing_Tank_6.set(new ItemStack(this, 1, 6));
- ItemList.Casing_Tank_7.set(new ItemStack(this, 1, 7));
- ItemList.Casing_Tank_8.set(new ItemStack(this, 1, 8));
- ItemList.Casing_Tank_9.set(new ItemStack(this, 1, 9));
- ItemList.Casing_Tank_10.set(new ItemStack(this, 1, 10));
- ItemList.Casing_Tank_11.set(new ItemStack(this, 1, 11));
- ItemList.Casing_Tank_12.set(new ItemStack(this, 1, 12));
- ItemList.Casing_Tank_13.set(new ItemStack(this, 1, 13));
- ItemList.Casing_Tank_14.set(new ItemStack(this, 1, 14));
- }
-
- @Override
- public int getTextureIndex(int aMeta) {
- return (8 << 7) | (aMeta + 112);
- }
-
- @Override
- @SideOnly(Side.CLIENT)
- public IIcon getIcon(int ordinalSide, int aMeta) {
- if (ordinalSide == 0) {
- return Textures.BlockIcons.MACHINECASINGS_BOTTOM[aMeta].getIcon();
- }
- if (ordinalSide == 1) {
- return Textures.BlockIcons.MACHINECASINGS_TOP[aMeta].getIcon();
- }
- return switch (aMeta) {
- case 1 -> Textures.BlockIcons.MACHINE_CASING_TANK_1.getIcon();
- case 2 -> Textures.BlockIcons.MACHINE_CASING_TANK_2.getIcon();
- case 3 -> Textures.BlockIcons.MACHINE_CASING_TANK_3.getIcon();
- case 4 -> Textures.BlockIcons.MACHINE_CASING_TANK_4.getIcon();
- case 5 -> Textures.BlockIcons.MACHINE_CASING_TANK_5.getIcon();
- case 6 -> Textures.BlockIcons.MACHINE_CASING_TANK_6.getIcon();
- case 7 -> Textures.BlockIcons.MACHINE_CASING_TANK_7.getIcon();
- case 8 -> Textures.BlockIcons.MACHINE_CASING_TANK_8.getIcon();
- case 9 -> Textures.BlockIcons.MACHINE_CASING_TANK_9.getIcon();
- case 10 -> Textures.BlockIcons.MACHINE_CASING_TANK_10.getIcon();
- case 11 -> Textures.BlockIcons.MACHINE_CASING_TANK_11.getIcon();
- case 12 -> Textures.BlockIcons.MACHINE_CASING_TANK_12.getIcon();
- case 13 -> Textures.BlockIcons.MACHINE_CASING_TANK_13.getIcon();
- case 14 -> Textures.BlockIcons.MACHINE_CASING_TANK_14.getIcon();
- default -> Textures.BlockIcons.MACHINE_CASING_TANK_0.getIcon();
- };
- }
-
- @Override
- public int colorMultiplier(IBlockAccess aWorld, int aX, int aY, int aZ) {
- return gregtech.api.enums.Dyes.MACHINE_METAL.mRGBa[0] << 16
- | gregtech.api.enums.Dyes.MACHINE_METAL.mRGBa[1] << 8
- | gregtech.api.enums.Dyes.MACHINE_METAL.mRGBa[2];
- }
-}