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
|
package gtPlusPlus.xmod.gregtech.api.objects;
import net.minecraft.block.Block;
import gregtech.api.enums.Dyes;
import gregtech.api.objects.GTCopiedBlockTexture;
/**
* Made this to get rid of deprecation warnings <i>everywhere</i>.
*
* @author Alkalus
*
*/
@SuppressWarnings("deprecation")
public class GTPPCopiedBlockTexture extends GTCopiedBlockTexture {
public GTPPCopiedBlockTexture(Block aBlock, int aSide, int aMeta, short[] aRGBa, boolean aAllowAlpha) {
super(aBlock, aMeta, aMeta, aRGBa, aAllowAlpha);
}
public GTPPCopiedBlockTexture(Block aBlock, int aSide, int aMeta, short[] aRGBa) {
this(aBlock, aSide, aMeta, aRGBa, true);
}
public GTPPCopiedBlockTexture(Block aBlock, int aSide, int aMeta) {
this(aBlock, aSide, aMeta, Dyes._NULL.mRGBa);
}
}
|