public void onNeighborChange(Level var1, int var2, int var3, int var4, int var5) {
      if(var5 != 0) {
         LiquidType var6 = Block.blocks[var5].getLiquidType();
         if(this.type == LiquidType.WATER && var6 == LiquidType.LAVA || var6 == LiquidType.WATER && this.type == LiquidType.LAVA) {
            var1.setTile(var2, var3, var4, Block.STONE.id);
            return;
         }
      }

      var1.addToTickNextTick(var2, var3, var4, var5);
   }