@Override public boolean onBlockActivated( World world, int x, int y, int z, EntityPlayer player, int side, float hit_x, float hit_y, float hit_z) { if (!player.isSneaking()) return true; TileReagentPurifier te = (TileReagentPurifier) world.getTileEntity(x, y, z); ForgeDirection newOut = ForgeDirection.getOrientation(side); if (newOut != te.getOutputSide()) { te.setOwner(player.getGameProfile().getId()); te.setOutputSide(newOut); world.markBlockForUpdate(x, y, z); te.markDirty(); return true; } return true; }