int x = (int) Math.floor(player.posX);
int y = (int) player.posY + 1;
int z = (int) Math.floor(player.posZ);
float yaw = MathHelper.wrapAngleTo180_float(player.rotationYaw + 90F) * (float) Math.PI / 180F;
Vector3 lookVector = new Vector3(Math.cos(yaw), Math.sin(yaw), 0).normalize();
Vector3 newVector = new Vector3(lookVector.x, lookVector.y, 0);
for (int i = 0; i < 5; i++) {
newVector = newVector.add(lookVector);
int x1 = x + (int) newVector.x;
int z1 = z + (int) newVector.y;
ItemBrightNitor.setBlock(x1, y, z1, player.worldObj);
}