1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
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 Replaced by the {@link gregtech.api.render.TextureFactory} API.
*/
@Deprecated
public class GT_SidedTexture extends gregtech.common.render.GT_SidedTexture
implements ITexture, IColorModulationContainer {
@Deprecated
public short[] mRGBa;
public GT_SidedTexture(
IIconContainer aIcon0,
IIconContainer aIcon1,
IIconContainer aIcon2,
IIconContainer aIcon3,
IIconContainer aIcon4,
IIconContainer aIcon5,
short[] aRGBa,
boolean aAllowAlpha) {
super(aIcon0, aIcon1, aIcon2, aIcon3, aIcon4, aIcon5, aRGBa, aAllowAlpha);
// Backwards Compat
GT_SidedTexture.this.mRGBa = aRGBa;
}
public GT_SidedTexture(
IIconContainer aIcon0,
IIconContainer aIcon1,
IIconContainer aIcon2,
IIconContainer aIcon3,
IIconContainer aIcon4,
IIconContainer aIcon5,
short[] aRGBa) {
this(aIcon0, aIcon1, aIcon2, aIcon3, aIcon4, aIcon5, aRGBa, true);
}
public GT_SidedTexture(
IIconContainer aIcon0,
IIconContainer aIcon1,
IIconContainer aIcon2,
IIconContainer aIcon3,
IIconContainer aIcon4,
IIconContainer aIcon5) {
this(aIcon0, aIcon1, aIcon2, aIcon3, aIcon4, aIcon5, Dyes._NULL.mRGBa);
}
public GT_SidedTexture(IIconContainer aBottom, IIconContainer aTop, IIconContainer aSides, short[] aRGBa) {
this(aBottom, aTop, aSides, aSides, aSides, aSides, aRGBa);
}
public GT_SidedTexture(IIconContainer aBottom, IIconContainer aTop, IIconContainer aSides) {
this(aBottom, aTop, aSides, Dyes._NULL.mRGBa);
}
@Override
public boolean isOldTexture() {
return true;
}
}
|