// Create the shape 3 blocks east of the player.
//
// We could (but won't, since this is a quick demo) get fancy and
// adjust x/z based on Minecraft.thePlayer.rotationYaw so the box is
// always right in front of the player.
WireframeCuboid shape = new WireframeCuboid(
playerCoords.copy().add(2.75, -1.0, -0.25),
playerCoords.copy().add(3.25, 0.0, 0.25));
shape.setLineStyle(new Color(Math.random(), Math.random(), Math.random(), 0.8), 3.0F, true);
ShapeRotate rotate = new ShapeRotate(0.0, 0.1, 0.8, 0.2); // wonky axis
shape.addTransform(rotate);
libShapeDraw.addShape(shape);
// Start the looping animation and keep a reference to the ShapeRotate
// so we can stop it later.
//