diff --git a/src/main/java/com/gtnewhorizons/gtnhintergalactic/block/BlockCasingSpaceElevator.java b/src/main/java/com/gtnewhorizons/gtnhintergalactic/block/BlockCasingSpaceElevator.java index 3ce9c36..a8a32e2 100644 --- a/src/main/java/com/gtnewhorizons/gtnhintergalactic/block/BlockCasingSpaceElevator.java +++ b/src/main/java/com/gtnewhorizons/gtnhintergalactic/block/BlockCasingSpaceElevator.java @@ -16,7 +16,7 @@ import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import gregtech.api.enums.Textures; -import gregtech.api.objects.GTCopiedBlockTexture; +import gregtech.api.render.TextureFactory; import gregtech.api.util.GTLanguageManager; import gregtech.common.blocks.BlockCasingsAbstract; import gregtech.common.blocks.MaterialCasings; @@ -44,7 +44,7 @@ public BlockCasingSpaceElevator() { super(ItemCasingSpaceElevator.class, "gt.blockcasingsSE", MaterialCasings.INSTANCE); for (byte b = 0; b < NUMBER_OF_CASINGS; b = (byte) (b + 1)) { - Textures.BlockIcons.casingTexturePages[32][b] = new GTCopiedBlockTexture(this, 6, b); + Textures.BlockIcons.casingTexturePages[32][b] = TextureFactory.of(this, b); } GTLanguageManager.addStringLocalization(getUnlocalizedName() + ".0.name", "Space Elevator Base Casing"); diff --git a/src/main/java/com/gtnewhorizons/gtnhintergalactic/block/BlockCasingSpaceElevatorMotor.java b/src/main/java/com/gtnewhorizons/gtnhintergalactic/block/BlockCasingSpaceElevatorMotor.java index f19af36..12f5f58 100644 --- a/src/main/java/com/gtnewhorizons/gtnhintergalactic/block/BlockCasingSpaceElevatorMotor.java +++ b/src/main/java/com/gtnewhorizons/gtnhintergalactic/block/BlockCasingSpaceElevatorMotor.java @@ -16,7 +16,7 @@ import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import gregtech.api.enums.Textures; -import gregtech.api.objects.GTCopiedBlockTexture; +import gregtech.api.render.TextureFactory; import gregtech.api.util.GTLanguageManager; import gregtech.common.blocks.BlockCasingsAbstract; import gregtech.common.blocks.MaterialCasings; @@ -42,7 +42,7 @@ public BlockCasingSpaceElevatorMotor() { super(ItemCasingSpaceElevatorMotor.class, "gt.blockcasingsSEMotor", MaterialCasings.INSTANCE); for (byte b = 0; b < NUMBER_OF_MOTORS; b = (byte) (b + 1)) { - Textures.BlockIcons.casingTexturePages[32][b + 16] = new GTCopiedBlockTexture(this, 6, b); + Textures.BlockIcons.casingTexturePages[32][b + 16] = TextureFactory.of(this, b); } GTLanguageManager.addStringLocalization(getUnlocalizedName() + ".0.name", "Space Elevator Motor MK-I");