@Override public void onRender() { if (blockPos == null) return; float red = (1F - (float) Math.sin((float) (System.currentTimeMillis() % 1000L) / 1000L * Math.PI * 2)) / 2F; float green = (1F - (float) Math.sin( (float) ((System.currentTimeMillis() + 333L) % 1000L) / 1000L * Math.PI * 2)) / 2F; float blue = (1F - (float) Math.sin( (float) ((System.currentTimeMillis() + 666L) % 1000L) / 1000L * Math.PI * 2)) / 2F; Color color = new Color(red, green, blue); RenderUtils.tracerLine(blockPos.getX(), blockPos.getY(), blockPos.getZ(), color); RenderUtils.blockESPBox(blockPos); }