@Override public boolean onItemUse( ItemStack itemstack, EntityPlayer entityplayer, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ) { if (!world.isRemote) { int dir = MathHelper.floor_double((double) (entityplayer.rotationYaw * 4F / 360F) + 0.5D) & 3; } return false; }