Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float time = ClientTickHandler.ticksInGame + ClientTickHandler.partialTicks;
- if(tileentity != null)
- time += new Random(tileentity.getPos().hashCode()).nextInt(100000);
- Color color = Color.getHSBColor(time * 0.005F, 0.6F, 1F);
- GL11.glColor4ub((byte) color.getRed(), (byte) color.getGreen(), (byte) color.getBlue(), (byte) 255);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement