package gregtech.api.objects; import gregtech.api.enums.Dyes; import gregtech.api.interfaces.IColorModulationContainer; import gregtech.api.interfaces.IIconContainer; import gregtech.api.interfaces.ITexture; @Deprecated public class GT_RenderedTexture extends gregtech.common.render.GT_RenderedTexture implements ITexture, IColorModulationContainer { @Deprecated public short[] mRGBa; public GT_RenderedTexture(IIconContainer aIcon, short[] aRGBa, boolean aAllowAlpha) { super(aIcon, aRGBa, aAllowAlpha, false, true, false); if (aRGBa.length != 4) throw new IllegalArgumentException("RGBa doesn't have 4 Values @ GT_RenderedTexture"); mRGBa = aRGBa; } public GT_RenderedTexture(IIconContainer aIcon, short[] aRGBa) { this(aIcon, aRGBa, true); } public GT_RenderedTexture(IIconContainer aIcon) { this(aIcon, Dyes._NULL.mRGBa); } @Override public boolean isOldTexture() { return true; } }