Advertisement
Guest User

Untitled

a guest
Jan 5th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. float time = ClientTickHandler.ticksInGame + ClientTickHandler.partialTicks;
  2. if(tileentity != null)
  3. time += new Random(tileentity.getPos().hashCode()).nextInt(100000);
  4.  
  5. Color color = Color.getHSBColor(time * 0.005F, 0.6F, 1F);
  6. GL11.glColor4ub((byte) color.getRed(), (byte) color.getGreen(), (byte) color.getBlue(), (byte) 255);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement