MCPcopy Index your code
hub / github.com/GregTech6/gregtech6 / getRGBaArray

Method getRGBaArray

src/main/java/gregapi/util/UT.java:1596–1598  ·  view source on GitHub ↗
(int aColors)

Source from the content-addressed store, hash-verified

1594 }
1595
1596 public static short[] getRGBaArray(int aColors) {
1597 return new short[] {(short)((aColors >>> 16) & 255), (short)((aColors >>> 8) & 255), (short)(aColors & 255), (short)((aColors >>> 24) & 255)};
1598 }
1599
1600 public static short getR(int aColors) {return (short)((aColors >>> 16) & 255);}
1601 public static short getG(int aColors) {return (short)((aColors >>> 8) & 255);}

Callers 15

colorMethod · 0.95
getTextureSolidMethod · 0.80
getTextureSmoothMethod · 0.80
getTextureMoltenMethod · 0.80
getTextureDustMethod · 0.80
getTextureGemMethod · 0.80
getMethod · 0.80
BlockTextureDefaultMethod · 0.80
BlockTextureCopiedMethod · 0.80
BlockTextureFluidMethod · 0.80
renderTileEntityAtMethod · 0.80
getRenderPasses2Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected