public void select(World world, int i, int j, int k, EntityPlayer ep) {
   zei_TileEntityBeacon beacon = (zei_TileEntityBeacon) world.getBlockTileEntity(i, j, k);
   zei_BeaconManager.select(ep, beacon.numeral);
   ItemStack is = ep.inventory.getCurrentItem();
   if (is != null && is.itemID == Item.stick.itemID) {
     beacon.mode = 2;
     world.setBlockMetadataWithNotify(i, j, k, 2, 3);
     world.markBlockForUpdate(i, j, k);
   } else if (is != null && is.itemID == Item.compass.itemID) {
     // beacon.mode=2;
     // world.setBlockMetadataWithNotify(i, j, k, 2);
     // world.markBlockAsNeedsUpdate(i, j, k);
     zei_BeaconManager.alertPlayerOnBots(world, ep);
   } else if (beacon.mode != 0) {
     beacon.mode = 0;
     world.setBlockMetadataWithNotify(i, j, k, 0, 3);
     world.markBlockForUpdate(i, j, k);
   } else {
     beacon.mode = 1;
     world.setBlockMetadataWithNotify(i, j, k, 1, 3);
     world.markBlockForUpdate(i, j, k);
   }
 }
 public void onBlockAdded(World world, int i, int j, int k) {
   int ii = zei_BeaconManager.addBeacon(world, i, j, k);
   zei_TileEntityBeacon beacon = (zei_TileEntityBeacon) world.getBlockTileEntity(i, j, k);
   beacon.numeral = ii;
   // zei_BeaconManager.printAll(world);
 }