public void onBlockAdded(World var1, int var2, int var3, int var4) {
      if(var1.getBlockId(var2, var3 - 1, var4) != Block.obsidian.blockID || !Block.portal.tryToCreatePortal(var1, var2, var3, var4)) {
         if(!var1.isBlockNormalCube(var2, var3 - 1, var4) && !this.func_263_h(var1, var2, var3, var4)) {
            var1.setBlockWithNotify(var2, var3, var4, 0);
         } else {
            var1.scheduleBlockUpdate(var2, var3, var4, this.blockID, this.tickRate());
         }
      }
   }