diff --git a/src/main/java/goodgenerator/loader/Loaders.java b/src/main/java/goodgenerator/loader/Loaders.java index a3b0b6d13e0..47fa796bd5d 100644 --- a/src/main/java/goodgenerator/loader/Loaders.java +++ b/src/main/java/goodgenerator/loader/Loaders.java @@ -62,6 +62,7 @@ import gregtech.api.enums.Textures; import gregtech.api.interfaces.ITexture; import gregtech.api.render.TextureFactory; +import kekztech.common.blocks.BlockTFFTStorageField; public class Loaders { @@ -518,6 +519,8 @@ public static void addTexturePage() { .of(magneticFluxCasing, 0); Textures.BlockIcons.casingTexturePages[GoodGeneratorTexturePage][10] = TextureFactory .of(gravityStabilizationCasing, 0); + Textures.BlockIcons.casingTexturePages[GoodGeneratorTexturePage][127] = TextureFactory + .of(BlockTFFTStorageField.TFFTCasingIcon.INSTANCE); } } diff --git a/src/main/java/kekztech/common/blocks/BlockTFFTStorageField.java b/src/main/java/kekztech/common/blocks/BlockTFFTStorageField.java index 47e4cf57c67..bf9f0e20d97 100644 --- a/src/main/java/kekztech/common/blocks/BlockTFFTStorageField.java +++ b/src/main/java/kekztech/common/blocks/BlockTFFTStorageField.java @@ -13,10 +13,7 @@ import net.minecraft.util.ResourceLocation; import cpw.mods.fml.common.registry.GameRegistry; -import gregtech.api.enums.Textures; import gregtech.api.interfaces.IIconContainer; -import gregtech.api.render.TextureFactory; -import gregtech.api.util.GTUtility; import kekztech.KekzCore; import kekztech.common.itemBlocks.ItemBlockTFFTStorageField; import kekztech.common.tileentities.MTETankTFFT; @@ -47,13 +44,6 @@ public ResourceLocation getTextureFile() { } } - // I guess glodblock won't mind - static { - GTUtility.addTexturePage((byte) 12); - Textures.BlockIcons - .setCasingTexture((byte) 12, (byte) 127, TextureFactory.of(BlockTFFTStorageField.TFFTCasingIcon.INSTANCE)); - } - private BlockTFFTStorageField() { super(Material.iron); }